syr改sj bug修复
This commit is contained in:
parent
c0f5ca513b
commit
bbe660cbfc
|
|
@ -164,7 +164,7 @@ export default {
|
|||
return {
|
||||
isLogin: false,
|
||||
userInfo: {},
|
||||
syrId: null,
|
||||
sjId: null,
|
||||
|
||||
displayScore: 0,
|
||||
animationTimer: null,
|
||||
|
|
@ -299,8 +299,8 @@ export default {
|
|||
request.post("/sj/user/getUser").then((result) => {
|
||||
if(result.code === 200 && result.data) {
|
||||
this.userInfo = result.data;
|
||||
uni.setStorageSync("syrId", result.data.id);
|
||||
this.syrId = result.data.id;
|
||||
uni.setStorageSync("sjId", result.data.id);
|
||||
this.sjId = result.data.id;
|
||||
// 获取完用户信息后,初始化营业开关的状态
|
||||
this.initStoreStatus();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue