访客页面

This commit is contained in:
zjf committed 2025-04-18 17:06:38 +08:00
1 parent 4d6a5d5e0a
commit e640856538
1 file changed
-9
-9
View File
@@ -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) {