From 819c899c57d267d9d9352243b78d66ac85e49132 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Mon, 10 Nov 2025 12:47:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/form/index.ts | 13 +++++++++++++ project.private.config.json | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) 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