Skip to content

Commit

Permalink
theme-game reloadIframe
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed Apr 6, 2024
1 parent c88fa91 commit a4e31c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/game/components/GameEmbed.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default function GameEmbed({ post, siteInfo }) {
// console.log("用户切换到了其他标签页");
} else {
// console.log("用户回到了当前页面");
setLoading(true)
// 刷新网页
reloadIframe()
// 移除监听器
Expand Down

0 comments on commit a4e31c6

Please sign in to comment.