From 9b4614a5cc625c278a8beb3d06cfb6f09f0ccb72 Mon Sep 17 00:00:00 2001 From: weiwei Date: Tue, 20 May 2025 17:05:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9app=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 572ef15..7614e6e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -153,9 +153,6 @@ export default { case "coopMerchant": uni.switchTab({ url: "/pages/tabbar/coopMerchant" }) break - case "thirdApp": - uni.navigateTo({ url: "/pages/thirdApp/thirdAppList" }) - break default: break } @@ -163,6 +160,10 @@ export default { // 诗画环境 const userRole = uni.getStorageSync("userRole") const launchParam = getLaunchParam() + if (launchParam == "thirdApp") { + uni.navigateTo({ url: "/pages/thirdApp/thirdAppList" }) + return + } if (launchParam) { switch (userRole) { case "merchant": @@ -206,6 +207,10 @@ export default { } else if (appInfo == "sh") { // 是诗画环境 const userRole = uni.getStorageSync("userRole") + if (launchParam == "thirdApp") { + uni.navigateTo({ url: "/pages/thirdApp/thirdApp" }) + return + } if (launchParam) { switch (userRole) { case "user":