调整代码格式

This commit is contained in:
浅念
2025-07-24 17:28:51 +08:00
parent 858147fbbd
commit f18cfdb69e
4 changed files with 627 additions and 538 deletions
+2 -2
View File
@@ -195,9 +195,9 @@ export const useUserStore = defineStore(
persist: {
key: 'user',
storage: localStorage,
afterRestore: (ctx) => {
afterRestore: (ctx: { store: { restoreTokenTimer: () => void } }) => {
ctx.store.restoreTokenTimer()
}
}
} as any
}
)