Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -50,7 +50,8 @@ onMounted(async () => { | ... | @@ -50,7 +50,8 @@ onMounted(async () => { |
| 50 | wx.error((err) => { | 50 | wx.error((err) => { |
| 51 | console.warn(err); | 51 | console.warn(err); |
| 52 | }); | 52 | }); |
| 53 | - // 正式环境 开启轮询 检查页面是否更新 | 53 | + // 正式环境 |
| 54 | + // TAG:检查是否更新 | ||
| 54 | if (import.meta.env.PROD) { | 55 | if (import.meta.env.PROD) { |
| 55 | const upDater = new Updater({ | 56 | const upDater = new Updater({ |
| 56 | time: 30000 | 57 | time: 30000 | ... | ... |
-
Please register or login to post a comment