管理端和商家端userInfo字段名变更,管理端会员详情,他的积分字段调整

This commit is contained in:
mabo
2021-08-04 17:51:43 +08:00
parent 726ae1f856
commit 0387ac510a
22 changed files with 44 additions and 47 deletions

View File

@@ -87,8 +87,7 @@ export default {
userInfo().then((res) => {
if (res.success) {
// 加载菜单
this.setStore("userInfo", res.result);
Cookies.set("userInfo", JSON.stringify(res.result));
Cookies.set("userInfoManager", JSON.stringify(res.result));
this.$store.commit("setAvatarPath", res.result.avatar);
util.initRouter(this);
this.$router.push({