This commit is contained in:
yj 2025-03-04 15:10:09 +08:00
parent 348b5d2ddc
commit 300194a8e4
1 changed files with 4 additions and 0 deletions

View File

@ -279,6 +279,10 @@ Page({
this.setStorageData() this.setStorageData()
}, },
async onShow() { async onShow() {
if (netWorkTime) {
clearTimeout(netWorkTime)
netWorkTime = ''
}
this.getNetWorkSpeed() this.getNetWorkSpeed()
wx.setKeepScreenOn({ wx.setKeepScreenOn({
keepScreenOn: true, keepScreenOn: true,