Merge branch 'gaohao' of https://e.coding.net/g-cphe0354/cashier/cashier-web into multi-store
This commit is contained in:
@@ -63,7 +63,7 @@ export const useUserStore = defineStore("user", () => {
|
||||
console.log(userInfo)
|
||||
console.log(data)
|
||||
localStorage.setItem("shopId", "" + data.id);
|
||||
Object.assign(userInfo.value, { ...data, roles: [], promissionList: [], shopId: userInfo.value.shopId });
|
||||
Object.assign(userInfo.value, { ...data, roles: [], promissionList: [], shopId: data.id });
|
||||
resolve(userInfo.value);
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user