修复了前端用户信息更新存储的bug

This commit is contained in:
橙子
2022-05-22 20:58:17 +08:00
parent 3b38a0d628
commit e14a078440
3 changed files with 17 additions and 2 deletions

View File

@@ -335,7 +335,7 @@ export default {
this.editInfo = Object.assign({}, this.userInfo);
this.roleInfo = resp.data.roles;
this.menuInfo = resp.data.menus;
this.$store.commit("SET_USER", this.userInfo);
this.$store.commit("SET_NEW_USER", this.userInfo);
});
},
choiceImg() {