Newer
Older
KaiFengPC / src / directive / index.js
@zhangdeliang zhangdeliang on 23 May 536 bytes 初始化项目
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);
}