Newer
Older
KaiFengPC / src / directive / index.js
@zhangdeliang zhangdeliang on 23 May 536 bytes 初始化项目
  1. import hasRole from "./permission/hasRole";
  2. import hasPermi from "./permission/hasPermi";
  3. import copyText from "./common/copyText";
  4. import divDrag from "./el-drag-div";
  5. import dialogDrag from "./el-drag-dialog";
  6. import divDownLoad from "./el-downLoad";
  7. export default function directive(app) {
  8. app.directive("hasRole", hasRole);
  9. app.directive("hasPermi", hasPermi);
  10. app.directive("copyText", copyText);
  11. app.directive("divDrag", divDrag);
  12. app.directive("dialogDrag", dialogDrag);
  13. app.directive("divDownLoad", divDownLoad);
  14. }