第三方app跳转

This commit is contained in:
weiwei committed 2025-05-14 11:53:09 +08:00
1 parent 06f5ebd9be
commit dee8d2e21f
6 files changed
+81 -27

No files matched your search

+3 -2
View File
@@ -139,8 +139,6 @@ export default {
async onLaunch() {
if (isDevEnv()) return
uni.setNavigationBarTitle({ title: "" })
// 环境判断
const appInfo = await getAppInfo()
if (appInfo == "zzd") {
@@ -155,6 +153,9 @@ export default {
case "coopMerchant":
uni.switchTab({ url: "/pages/tabbar/coopMerchant" })
break
case "thirdApp":
uni.navigateTo({ url: "/pages/thirdApp/thirdAppList" })
break
default:
break
}