From e640856538a048f039bdb16c3308e0688c2572b4 Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Fri, 18 Apr 2025 17:06:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BF=E5=AE=A2=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/App.vue b/src/App.vue index e42042e..e888691 100644 --- a/src/App.vue +++ b/src/App.vue @@ -149,8 +149,6 @@ const setTabbarByUserRole = (role: string) => { export default { async onLaunch() { - if (isDevEnv()) return - uni.setNavigationBarTitle({ title: "" }) // 检查是否已登录 @@ -168,13 +166,6 @@ export default { methods: { async _initTabbar() { - if (isDevEnv()) { - tabbar.forEach((item, index) => { - setTabbarItem(index, item, true) - }) - return - } - // 根据用户角色设置tabbar const userInfo = uni.getStorageSync("userInfo") if (userInfo) {