Commit 2fa87c95 by 张立顺

切换门店的配置修复

1 parent 44014e3c
......@@ -153,6 +153,7 @@ Page({
return
}
wx.$util.showLoading()
api
.selectAccountLogin({
id
......@@ -161,6 +162,7 @@ Page({
let { data, message } = res
if (data) {
wx.$util.setUserInfo(data.loginUserInfoList[0])
app.globalData.YQorderSetting = null
// console.log(data.loginUserInfoList[0])
checkYqdSuper(app, data.loginUserInfoList[0])
const SCENE = wx.$SCENE
......@@ -177,6 +179,7 @@ Page({
wx.$router.reLaunch(`${target}.${name}`, query)
wx.$SCENE = null
} else {
// 超管默认开通所有场景
if (isSuper) {
// 0 会员权益/升级 1 精品升级
......@@ -210,7 +213,6 @@ Page({
}
})
}
// app.
getYQorderInfo()
} else {
wx.$util.showToast(message)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!