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