From d95ae64dc298c38fc60c2912ecb0a3ecf6d561e2 Mon Sep 17 00:00:00 2001 From: weiwei Date: Wed, 9 Apr 2025 20:16:34 +0800 Subject: [PATCH] 1 --- src/pages/tabbar/my.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/tabbar/my.vue b/src/pages/tabbar/my.vue index 51a9a85..54cb25d 100644 --- a/src/pages/tabbar/my.vue +++ b/src/pages/tabbar/my.vue @@ -349,17 +349,17 @@ const doChangeRole = () => { // 初始化配置菜单 const initMenuConfig = () => { if (isDevEnv()) { - state.menuList.push({ - text: "测试-登录", - icon: "/static/icon/login.png", - router: "/pages/test/login", - }) state.menuList.push({ text: "测试-角色选择", icon: "/static/icon/login.png", router: "/pages/user/userRole", }) } + state.menuList.push({ + text: "测试-登录", + icon: "/static/icon/login.png", + router: "/pages/test/login", + }) // 根据启动参数添加扫一扫菜单项 const launchParam = new URL(window.location.href).searchParams.get("launchParam")