增加返回

This commit is contained in:
yj 2024-11-26 15:24:56 +08:00
parent 93a687c549
commit 4a3c301c89
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ Page({
},
},
async onLoad(option) {
wx.enableAlertBeforeUnload({
message: "确定要离开房间吗?"
})
this.setData({
channelId: option.roomNum,
user: await getStorage('user')