refactor: 适配后端权限码调整

This commit is contained in:
2025-03-26 22:59:19 +08:00
parent 1be5d97fa2
commit b135b49a87
17 changed files with 33 additions and 32 deletions

View File

@@ -3,7 +3,7 @@ import { useUserStore } from '@/stores'
/**
* @desc v-permission 操作权限处理
* @desc 使用 v-permission="['system:user:add']"
* @desc 使用 v-permission="['system:user:create']"
*/
function checkPermission(el: HTMLElement, binding: DirectiveBinding) {
const userStore = useUserStore()