fix: user access

This commit is contained in:
zzc
2026-03-05 17:38:52 +08:00
parent d15012841c
commit 516063bb14
2 changed files with 3 additions and 2 deletions

View File

@@ -57,6 +57,7 @@ export const useUserStore = defineStore("user", {
},
async fetchUserAssets() {
try {
if (!this?.userInfo?.id) return;
const res = await getUserAsset();
if (res) {
const newInfo = { ...this.userInfo, ...res };