改变结构

添加权限指令
This commit is contained in:
weicw
2021-08-05 18:26:07 +08:00
parent b706a8a155
commit 97df9286bb
54 changed files with 4057 additions and 5875 deletions

11
src/directive/index.js Normal file
View File

@@ -0,0 +1,11 @@
import hasRole from './hasRole'
import hasPermi from './hasPermi'
const install = function(app) {
app.directive('hasRole', hasRole)
app.directive('hasPermi', hasPermi)
}
export default install