mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-11 02:57:09 +08:00
refactor: 适配后端权限码调整
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user