From 42c777d9e2e0caacbfc746f9b1ec2ea83e6682ef Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Wed, 27 Sep 2023 14:24:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/gather/gather.vue | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue index e8d6b6d..d7a9b0c 100644 --- a/pages/gather/gather.vue +++ b/pages/gather/gather.vue @@ -359,18 +359,27 @@ break; // case 2: uniMP.loadMPx(data); break; case 2: - this.navigator(data); break; - + this.navigator(data); + break; + case 3: uniMP.loadMPurl(data); break; } return; // #endif - uni.showToast({ - icon: 'none', - title: 'H5不支持打开小程序' - }) + // #ifdef H5 + + if (type == 2) { + this.navigator(data); + } else { + uni.showToast({ + icon: 'none', + title: 'H5不支持打开小程序' + }) + } + // #endif + }, changeHandler(e) { const {