This commit is contained in:
liushiwei
2023-08-11 08:31:53 +08:00
parent 51a47938a6
commit e6ccd59a9b
3 changed files with 169 additions and 48 deletions

View File

@@ -99,7 +99,11 @@ const userCheck = (mallId) => {
reject('您的账号未激活或已失效,请激活后使用')
return false
}
if (res.type != 4 && mallId != store.state.userInfo.mallId) {
let tempMallId = mallId
if (!tempMallId) {
tempMallId = store.state.mallId
}
if (res.type != 4 && tempMallId != store.state.userInfo.mallId) {
Message.error('您当前登录的TEMU账号与会员绑定账号不一致')
reject('您当前登录的TEMU账号与会员绑定账号不一致')
return false