|
|
@@ -46,17 +46,18 @@ export default {
|
|
|
// 登录
|
|
|
if (isLogin()) {
|
|
|
if (this.init) {
|
|
|
- let self = this
|
|
|
- //切换门店,需要先确认有没生成客户id shish 2021.5.2
|
|
|
- if (oldAccount != option.account) {
|
|
|
- getShopUser(true).then(res => {
|
|
|
- if (!this.$util.isEmpty(res)) {
|
|
|
- self.init()
|
|
|
- }
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.init()
|
|
|
- }
|
|
|
+ this.init()
|
|
|
+ // let self = this
|
|
|
+ // //切换门店,需要先确认有没生成客户id shish 2021.5.2
|
|
|
+ // if (oldAccount != option.account) {
|
|
|
+ // getShopUser(true).then(res => {
|
|
|
+ // if (!this.$util.isEmpty(res)) {
|
|
|
+ // self.init()
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // } else {
|
|
|
+ // this.init()
|
|
|
+ // }
|
|
|
}
|
|
|
} else {
|
|
|
console.log(1112)
|