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() { onShow() {
const that = this; const that = this;
this.setData({
isJoin: false
})
wx.getStorage({ wx.getStorage({
key: 'isConnected', key: 'isConnected',
success(res: any) { success(res: any) {
@ -124,10 +127,11 @@ Page({
}) })
}) })
}) })
} else {
this.setData({
isJoin: false
})
} }
this.setData({
isJoin: false
})
}).catch(() => { }).catch(() => {
this.setData({ this.setData({
isJoin: false isJoin: false