This commit is contained in:
yj 2025-11-10 13:43:26 +08:00
parent 819c899c57
commit fbdc118292
1 changed files with 13 additions and 13 deletions

View File

@ -16,6 +16,19 @@ Page({
code: ''
},
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()
const that = this;
onStop()
@ -193,19 +206,6 @@ Page({
})
},
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()
if (this.data.isJoin) {
return