This commit is contained in:
parent
348b5d2ddc
commit
300194a8e4
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue