张诺
2025-05-23 21bccd866d249d7f5c7f0e031b8b622714de0680
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)
}