mirror of
https://github.com/ctwj/urldb.git
synced 2025-11-26 03:44:55 +08:00
6 lines
152 B
TypeScript
6 lines
152 B
TypeScript
|
|
export default defineNuxtPlugin(() => {
|
||
|
|
const userStore = useUserStore()
|
||
|
|
|
||
|
|
// 在客户端初始化时恢复用户状态
|
||
|
|
userStore.initAuth()
|
||
|
|
})
|