13 lines
504 B
JavaScript
13 lines
504 B
JavaScript
import hasRole from './permission/hasRole'
|
|
import hasPermi from './permission/hasPermi'
|
|
import copyText from './common/copyText'
|
|
import horizontalScroll from './common/horizontalScroll'
|
|
import clickOutsideRow from './common/clickOutsideRow'
|
|
|
|
export default function directive(app){
|
|
app.directive('hasRole', hasRole)
|
|
app.directive('hasPermi', hasPermi)
|
|
app.directive('copyText', copyText)
|
|
app.directive('horizontal-scroll', horizontalScroll)
|
|
app.directive('click-outside-row', clickOutsideRow)
|
|
} |