扫码直接进入

This commit is contained in:
yj 2024-11-29 17:20:21 +08:00
parent 7fd65c8435
commit 2a320156f5
1 changed files with 12 additions and 1 deletions

View File

@ -45,7 +45,18 @@ Page({
},
})
},
onLoad() {
onLoad(option) {
if (option.scene) {
const scene = decodeURIComponent(option.scene)
const room = scene.split('r=')[1];
this.setData({
meetingForm: {
roomNum: room,
},
}, () => {
this.joinMeeting()
})
}
wx.authorize({
scope: 'scope.record',
success: () => {