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 {