feat: 升级vue3
This commit is contained in:
@@ -16,8 +16,7 @@ interface UserInfoVO {
|
||||
user: UserVO
|
||||
}
|
||||
|
||||
export const useUserStore = defineStore({
|
||||
id: 'admin-user',
|
||||
export const useUserStore = defineStore('admin-user', {
|
||||
state: (): UserInfoVO => ({
|
||||
permissions: [],
|
||||
roles: [],
|
||||
|
||||
Reference in New Issue
Block a user