扫码直接进入
This commit is contained in:
parent
7fd65c8435
commit
2a320156f5
|
|
@ -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({
|
wx.authorize({
|
||||||
scope: 'scope.record',
|
scope: 'scope.record',
|
||||||
success: () => {
|
success: () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue