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 | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
index 680da18..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;
@@ -45,11 +47,13 @@
import { getConfigKey } from "@/api/system/config";
import {
parseTime,
+ formatTime,
resetForm,
addDateRange,
selectDictLabel,
selectDictLabels,
handleTree,
+ daysBetween,
} from "@/utils/ruoyi";
import LemonMessageVoice from './websocket/lemon-message-voice';
Vue.component(LemonMessageVoice.name,LemonMessageVoice);
@@ -75,6 +79,8 @@
import components from "./components";
// 璇煶缁勪欢
import VueAudio from 'vue-audio-better'
+// 寮规鎷栧姩
+import '@/utils/drag.js';
// 娉ㄥ唽杩囨护鍣�
// 鑷畾涔夋寚浠�
import * as directives from "./directives";
@@ -91,6 +97,8 @@
Vue.prototype.getDicts = getDicts;
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