2024-08-17 12:11:19 +08:00
|
|
|
import hasRole from './permission/hasRole'
|
|
|
|
|
import hasPermi from './permission/hasPermi'
|
2025-04-05 12:44:01 +08:00
|
|
|
import notHasPermi from './permission/notHasPermi'
|
2024-08-17 12:11:19 +08:00
|
|
|
import copyText from './common/copyText'
|
|
|
|
|
|
|
|
|
|
export default function directive(app){
|
|
|
|
|
app.directive('hasRole', hasRole)
|
|
|
|
|
app.directive('hasPermi', hasPermi)
|
2025-04-05 12:44:01 +08:00
|
|
|
app.directive('notHasPermi', notHasPermi)
|
2024-08-17 12:11:19 +08:00
|
|
|
app.directive('copyText', copyText)
|
|
|
|
|
}
|