This commit is contained in:
liushiwei
2023-08-09 00:55:57 +08:00
parent 7b0c28f4c8
commit b9195c137e
5 changed files with 55 additions and 56 deletions

View File

@@ -153,17 +153,10 @@ import { Message } from 'element-ui'
Message.error("请先选择店铺")
return
}
this.$http.post('/api/malluser/info').then(res => {
if (res.code == 0) {
this.$store.commit('setUserInfo', res.data)
if (res.data.flag != 1) {
Message.error('您的账号未激活或已失效,请激活后使用')
this.$store.commit('setActiveDlgShow', true)
return;
} else {
this.getList()
}
}
this.$userCheck(this.mallId).then(() => {
this.getList()
}).catch((err) => {
console.log(err)
})
},
getList () {