访客页面
This commit is contained in:
1 parent
4d6a5d5e0a
commit
e640856538
1 file changed
-9
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user