From 88cd1b9c862df00e7782084c641e37e7e930ec31 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 05 六月 2025 10:45:05 +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