|
|
@@ -36,7 +36,7 @@ export default {
|
|
|
uni.setStorageSync('account', option.account)
|
|
|
}
|
|
|
uni.setStorageSync('currentQuery', JSON.stringify(option))
|
|
|
- console.log(uni.getStorageSync('HOME_STATUS_STROAGE_SHOW'), 'this.shopAdminId', this.getLoginInfo, this.getLoginInfo.openShop)
|
|
|
+
|
|
|
if (this.$util.isEmpty(this.getLoginInfo)) {
|
|
|
wxLoginFn(true).then(res => {
|
|
|
//客户可以访问的地址
|
|
|
@@ -51,7 +51,6 @@ export default {
|
|
|
})
|
|
|
if (needRedirect === true) {
|
|
|
//客户访问不能查看的页面跳转去官网
|
|
|
- console.log('res.data.damin', res.data.admin.openShop)
|
|
|
if (res.data.shopAdminId == '0' && res.data.admin.openShop == '1') {
|
|
|
this.AUTHORITY_SHOW = true;
|
|
|
uni.hideTabBar()
|
|
|
@@ -112,7 +111,6 @@ export default {
|
|
|
});
|
|
|
} else {
|
|
|
getStaffApi().then(res => {
|
|
|
- console.log(res)
|
|
|
if (res.data.openShop == '2') {
|
|
|
status = '2'
|
|
|
} else if (res.data.openShop == '3') {
|
|
|
@@ -128,7 +126,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
experienceFun (experienceCode) {
|
|
|
- console.log(experienceCode)
|
|
|
if (this.$util.isEmpty(experienceCode)) {
|
|
|
this.$msg('请输入体验码')
|
|
|
return false
|