From 999cab6fb3fc6d2a288d365da991351c5a396bf0 Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: 星期三, 21 九月 2022 15:53:18 +0800
Subject: [PATCH] 删除无用页面

---
 src/utils/directive.ts |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/utils/directive.ts b/src/utils/directive.ts
index a75b187..ccac511 100644
--- a/src/utils/directive.ts
+++ b/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
@@ -9,10 +10,12 @@
  * @methods dragDirective 自定义拖动指令,用法:v-drag
  */
 export function directive(app: App) {
-	// 用户权限指令
-	authDirective(app);
-	// 按钮波浪指令
-	wavesDirective(app);
-	// 自定义拖动指令
-	dragDirective(app);
+    // 用户权限指令
+    authDirective(app);
+    // 按钮波浪指令
+    wavesDirective(app);
+    // 自定义拖动指令
+    dragDirective(app);
+
+    preventClick(app);
 }

--
Gitblit v1.9.2