|
|
@@ -23,7 +23,7 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
...mapGetters({ loginInfo: "getLoginInfo" }),
|
|
|
- ...mapGetters(["getLoginInfo", 'userInfo'])
|
|
|
+ ...mapGetters(["getLoginInfo"])
|
|
|
},
|
|
|
// 页面生命周期才触发
|
|
|
onLoad: function (option) {
|
|
|
@@ -62,6 +62,8 @@ export default {
|
|
|
uni.hideTabBar()
|
|
|
uni.removeStorageSync('SHOP_ADMIN_STROAGE_SHOW')
|
|
|
uni.setStorageSync('OPEN_SHOP_ID', res.data.admin.openShop)
|
|
|
+ } else {
|
|
|
+ uni.showTabBar()
|
|
|
}
|
|
|
}
|
|
|
getUser(true)
|