letsgocoding
2025-02-13 cf1d086376cf7bf6f3b3b5fc9d4b33be646de1bf
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)
}