- import hasRole from "./permission/hasRole";
- import hasPermi from "./permission/hasPermi";
- import copyText from "./common/copyText";
- import divDrag from "./el-drag-div";
- import dialogDrag from "./el-drag-dialog";
- import divDownLoad from "./el-downLoad";
- export default function directive(app) {
- app.directive("hasRole", hasRole);
- app.directive("hasPermi", hasPermi);
- app.directive("copyText", copyText);
- app.directive("divDrag", divDrag);
- app.directive("dialogDrag", dialogDrag);
- app.directive("divDownLoad", divDownLoad);
- }