buhuazhen
昨天 2ebf0d9c4f4024d363f7e26c3847a3280cb22b43
1
2
3
4
5
6
7
8
9
import hasRole from './permission/hasRole'
import hasPermi from './permission/hasPermi'
import copyText from './common/copyText'
 
export default function directive(app){
  app.directive('hasRole', hasRole)
  app.directive('hasPermi', hasPermi)
  app.directive('copyText', copyText)
}