This commit is contained in:
yj 2024-11-28 14:21:16 +08:00
parent 6f1ec80871
commit cec6c2c04e
1 changed files with 7 additions and 3 deletions

View File

@ -16,6 +16,9 @@ Page({
},
onShow() {
const that = this;
this.setData({
isJoin: false
})
wx.getStorage({
key: 'isConnected',
success(res: any) {
@ -124,10 +127,11 @@ Page({
})
})
})
} else {
this.setData({
isJoin: false
})
}
this.setData({
isJoin: false
})
}).catch(() => {
this.setData({
isJoin: false