From f112a452fb8e89091476432be86cc92d0db3ef59 Mon Sep 17 00:00:00 2001 From: weiwei Date: Thu, 5 Jun 2025 10:49:12 +0800 Subject: [PATCH] 1 --- .hbuilderx/launch.json | 16 ---------------- src/App.vue | 2 +- src/pages/cabinet/buy.vue | 6 +++--- src/pages/tabbar/my.vue | 9 +++++++-- 4 files changed, 11 insertions(+), 22 deletions(-) delete mode 100644 .hbuilderx/launch.json diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json deleted file mode 100644 index 81f13f4..0000000 --- a/.hbuilderx/launch.json +++ /dev/null @@ -1,16 +0,0 @@ -{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ - // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 - "version": "0.0", - "configurations": [{ - "default" : - { - "launchtype" : "local" - }, - "mp-weixin" : - { - "launchtype" : "local" - }, - "type" : "uniCloud" - } - ] -} diff --git a/src/App.vue b/src/App.vue index 73eca76..ac5b9d9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -160,7 +160,7 @@ export default { const userRole = uni.getStorageSync("userRole") const launchParam = getLaunchParam() if (launchParam == "thirdApp") { - uni.navigateTo({ url: "/pages/thirdApp/thirdAppList" }) + uni.reLaunch({ url: "/pages/thirdApp/thirdAppList" }) return } if (launchParam) { diff --git a/src/pages/cabinet/buy.vue b/src/pages/cabinet/buy.vue index 1255d30..08eaf96 100644 --- a/src/pages/cabinet/buy.vue +++ b/src/pages/cabinet/buy.vue @@ -17,9 +17,9 @@ - - - + + + { // 初始化配置菜单 const initMenuConfig = () => { if (isDevEnv()) { + state.menuList.push({ + text: "测试-第三方应用", + icon: "/static/icon/login.png", + router: "/pages/thirdApp/thirdAppList", + }) state.menuList.push({ text: "测试-登录", icon: "/static/icon/login.png",