feat(auth): 重构权限管理系统和路由结构
All checks were successful
构建Docker镜像 / build-and-deploy (push) Successful in 1m33s

This commit is contained in:
2025-09-04 13:08:48 +08:00
parent 509b274c5c
commit 640b1aa99e
7 changed files with 184 additions and 81 deletions

View File

@@ -2,11 +2,13 @@ import {ref, computed} from 'vue'
import {defineStore} from 'pinia'
export const useCounterStore = defineStore('counter', () => {
const homeToken = ref("")
const token = ref("")
const isAdmin = ref(false)
return {token, isAdmin}
}, {
persist: true