src/utils/directive.ts
@@ -1,6 +1,7 @@ import type { App } from 'vue'; import { authDirective } from '/@/utils/authDirective'; import { wavesDirective, dragDirective } from '/@/utils/customDirective'; import { preventClick } from '/@/utils/throttle'; /** * 导出指令方法:v-xxx @@ -15,4 +16,6 @@ wavesDirective(app); // 自定义拖动指令 dragDirective(app); preventClick(app); }