张延森 3 years ago
parent
commit
7c8131e392
1 changed files with 0 additions and 8 deletions
  1. 0
    8
      src/pages/game/index.vue

+ 0
- 8
src/pages/game/index.vue View File

@@ -13,14 +13,6 @@ import FireWorkListVue from '@/components/FireWorkList.vue'
13 13
 import game from './game.js'
14 14
 import { gameOver, gameStart } from '@/utils/api.js'
15 15
 
16
-// // 修复一个 two-js bug ,当页面返回的时候, 不能正常渲染
17
-// // 所以这边判断如果第二次进入页面就强制刷新
18
-// const loadSign = localStorage.getItem('loadSign');
19
-// if (loadSign) {
20
-//   localStorage.removeItem('loadSign');
21
-//   window.location.href = window.location.href;
22
-// }
23
-
24 16
 const el = ref()
25 17
 const destroyRef = ref()
26 18
 const firesRef = ref()