From d54ac083e2992a5613f5cb22849db9742dbe9a9b Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 22 十月 2025 11:06:14 +0800
Subject: [PATCH] 问卷联调

---
 src/main.js |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index 5ca998f..1207e98 100644
--- a/src/main.js
+++ b/src/main.js
@@ -25,6 +25,8 @@
 import { codemirror } from "vue-codemirror";
 import "@/utils/cm-setting.js";
 Vue.component("codemirror", codemirror);
+import preventReClick from '@/utils/directives/preventReClick';
+Vue.use(preventReClick);
 
 import { Quill } from "vue-quill-editor";
 window.Quill = Quill;
@@ -51,6 +53,7 @@
   selectDictLabel,
   selectDictLabels,
   handleTree,
+  daysBetween,
 } from "@/utils/ruoyi";
 import LemonMessageVoice from './websocket/lemon-message-voice';
 Vue.component(LemonMessageVoice.name,LemonMessageVoice);
@@ -76,6 +79,8 @@
 import components from "./components";
 // 璇煶缁勪欢
 import VueAudio from 'vue-audio-better'
+// 寮规鎷栧姩
+import '@/utils/drag.js';
 // 娉ㄥ唽杩囨护鍣�
 // 鑷畾涔夋寚浠�
 import * as directives from "./directives";
@@ -93,6 +98,7 @@
 Vue.prototype.getConfigKey = getConfigKey;
 Vue.prototype.parseTime = parseTime;
 Vue.prototype.formatTime = formatTime;
+Vue.prototype.daysBetween = daysBetween;
 Vue.prototype.resetForm = resetForm;
 Vue.prototype.addDateRange = addDateRange;
 Vue.prototype.selectDictLabel = selectDictLabel;

--
Gitblit v1.9.3