diff --git a/pages/form/index.ts b/pages/form/index.ts index 2db8d1d..5d7ae3d 100644 --- a/pages/form/index.ts +++ b/pages/form/index.ts @@ -193,6 +193,19 @@ 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 diff --git a/project.private.config.json b/project.private.config.json index d03c56f..96a5465 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -5,5 +5,5 @@ "compileHotReLoad": true, "urlCheck": true }, - "libVersion": "3.6.5" + "libVersion": "3.8.8" } \ No newline at end of file