改变结构
添加权限指令
This commit is contained in:
11
src/directive/index.js
Normal file
11
src/directive/index.js
Normal 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
|
||||
Reference in New Issue
Block a user