From 5319d5b95497b5b546947ac340c14c71e5b54ca6 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 10 十二月 2025 09:57:58 +0800
Subject: [PATCH] 测试完成
---
src/main.js | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/main.js b/src/main.js
index 680da18..1513729 100644
--- a/src/main.js
+++ b/src/main.js
@@ -30,7 +30,6 @@
window.Quill = Quill;
import imageResize from "quill-image-resize";
-
import { ImageDrop } from "quill-image-drop-module";
Quill.register("modules/imageDrop", ImageDrop);
Quill.register("modules/imageResize", imageResize);
@@ -45,14 +44,16 @@
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);
+import LemonMessageVoice from "./websocket/lemon-message-voice";
+Vue.component(LemonMessageVoice.name, LemonMessageVoice);
// 鍒嗛〉缁勪欢
import Pagination from "@/components/Pagination";
// 鑷畾涔夎〃鏍煎伐鍏风粍浠�
@@ -74,7 +75,7 @@
// 缁勪欢灏佽闆嗘垚
import components from "./components";
// 璇煶缁勪欢
-import VueAudio from 'vue-audio-better'
+import VueAudio from "vue-audio-better";
// 娉ㄥ唽杩囨护鍣�
// 鑷畾涔夋寚浠�
import * as directives from "./directives";
@@ -82,7 +83,7 @@
for (let key in filters) {
Vue.filter(key, filters[key]);
}
-import moment from "moment"
+import moment from "moment";
Vue.prototype.$moment = moment;
@@ -91,6 +92,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;
@@ -111,7 +114,7 @@
Vue.use(directive);
Vue.use(plugins);
Vue.use(VueMeta);
-Vue.use(VueAudio)
+Vue.use(VueAudio);
DictData.install();
Vue.use(components);
// Vue.use(VueQuillEditor)
@@ -137,4 +140,3 @@
store,
render: (h) => h(App),
});
-
--
Gitblit v1.9.3