增加返回
This commit is contained in:
parent
93a687c549
commit
4a3c301c89
|
|
@ -137,6 +137,9 @@ Page({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
async onLoad(option) {
|
async onLoad(option) {
|
||||||
|
wx.enableAlertBeforeUnload({
|
||||||
|
message: "确定要离开房间吗?"
|
||||||
|
})
|
||||||
this.setData({
|
this.setData({
|
||||||
channelId: option.roomNum,
|
channelId: option.roomNum,
|
||||||
user: await getStorage('user')
|
user: await getStorage('user')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue