diff --git a/pages/home/home.vue b/pages/home/home.vue index a7cb1dd..84065dd 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -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();