This commit is contained in:
parent
6f1ec80871
commit
cec6c2c04e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue