refactor(projects): perf code

This commit is contained in:
Soybean
2024-03-24 03:02:08 +08:00
parent 187098136e
commit f91ef30bd5
54 changed files with 219 additions and 119 deletions

View File

@ -81,7 +81,7 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
// 2. store user info
localStg.set('userInfo', info);
// 3. update auth route
// 3. update store
token.value = loginToken.token;
Object.assign(userInfo, info);