theme-game

This commit is contained in:
tangly1024
2024-04-04 11:10:40 +08:00
parent 2c56c09965
commit 0e3d2dbcd2

View File

@@ -35,7 +35,9 @@ export default function GameEmbed({ post, siteInfo }) {
// 将当前游戏加入到最近游玩
useEffect(() => {
// 切换游戏时更新
setUrl(originUrl)
setTipNewWindow(newWindow)
const iframe = document.getElementById('game-wrapper')