mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-07 23:16:52 +00:00
theme-game reloadIframe
This commit is contained in:
@@ -37,6 +37,7 @@ export default function GameEmbed({ post, siteInfo }) {
|
|||||||
// console.log("用户切换到了其他标签页");
|
// console.log("用户切换到了其他标签页");
|
||||||
} else {
|
} else {
|
||||||
// console.log("用户回到了当前页面");
|
// console.log("用户回到了当前页面");
|
||||||
|
setLoading(true)
|
||||||
// 刷新网页
|
// 刷新网页
|
||||||
reloadIframe()
|
reloadIframe()
|
||||||
// 移除监听器
|
// 移除监听器
|
||||||
|
|||||||
Reference in New Issue
Block a user