This commit is contained in:
parent
5ae26babb1
commit
04f7b0bb4c
|
|
@ -213,6 +213,17 @@ Page({
|
||||||
});
|
});
|
||||||
this.changeAgoraDevice()
|
this.changeAgoraDevice()
|
||||||
}
|
}
|
||||||
|
}).catch(() => {
|
||||||
|
wx.setStorage({
|
||||||
|
key: "isConnected",
|
||||||
|
data: true
|
||||||
|
})
|
||||||
|
wx.disableAlertBeforeUnload({
|
||||||
|
complete: () => {
|
||||||
|
onStop()
|
||||||
|
wx.navigateBack()
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}, 1000 * 30)
|
}, 1000 * 30)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue