This commit is contained in:
parent
819c899c57
commit
fbdc118292
|
|
@ -16,6 +16,19 @@ Page({
|
||||||
code: ''
|
code: ''
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
const deviceInfo = wx.getDeviceInfo()
|
||||||
|
if (deviceInfo && (deviceInfo.platform === 'windows' || deviceInfo.platform === 'mac')) {
|
||||||
|
wx.showModal({
|
||||||
|
title: '提示',
|
||||||
|
content: '当前仅支持移动端使用,PC端无法使用。',
|
||||||
|
showCancel: false,
|
||||||
|
confirmText: '我知道了',
|
||||||
|
success: function () {
|
||||||
|
wx.exitMiniProgram && wx.exitMiniProgram();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return
|
||||||
|
}
|
||||||
wx.hideLoading()
|
wx.hideLoading()
|
||||||
const that = this;
|
const that = this;
|
||||||
onStop()
|
onStop()
|
||||||
|
|
@ -193,19 +206,6 @@ Page({
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
joinMeeting() {
|
joinMeeting() {
|
||||||
const deviceInfo = wx.getDeviceInfo()
|
|
||||||
if(deviceInfo && (deviceInfo.platform === 'windows' || deviceInfo.platform === 'mac')){
|
|
||||||
wx.showModal({
|
|
||||||
title: '提示',
|
|
||||||
content: '当前仅支持移动端使用,PC端无法使用。',
|
|
||||||
showCancel: false,
|
|
||||||
confirmText: '我知道了',
|
|
||||||
success: function () {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return
|
|
||||||
}
|
|
||||||
this.closeDialog()
|
this.closeDialog()
|
||||||
if (this.data.isJoin) {
|
if (this.data.isJoin) {
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue