feat(directive): 添加自定义指令directive实现按钮权限控制

This commit is contained in:
郝先瑞
2022-01-23 18:03:18 +08:00
parent 1c3b5f3bec
commit 7c8326c7c5
6 changed files with 144 additions and 96 deletions

1
src/directive/index.ts Normal file
View File

@@ -0,0 +1 @@
export {hasPerm,hasRole} from "./permission";