龚焕茏
2024-03-06 a473c0680b7b003c33fa6ae5f646eb851e17fe8f
1
2
3
4
5
6
7
8
9
import copyText from './common/copyText';
import { hasPermi, hasRoles } from './permission';
import { App } from 'vue';
 
export default (app: App) => {
  app.directive('copyText', copyText);
  app.directive('hasPermi', hasPermi);
  app.directive('hasRoles', hasRoles);
};