From 248b5e946c3365acba05168cf728a8704b0eae25 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 04 九月 2025 11:59:27 +0800
Subject: [PATCH] 测试完成
---
src/main.js | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/src/main.js b/src/main.js
index 532adf6..1513729 100644
--- a/src/main.js
+++ b/src/main.js
@@ -30,14 +30,13 @@
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);
-import LemonIMUI from "lemon-imui";
-import "lemon-imui/dist/index.css";
-Vue.use(LemonIMUI);
+// import LemonIMUI from "lemon-imui";
+// import "lemon-imui/dist/index.css";
+// Vue.use(LemonIMUI);
import "./assets/icons"; // icon
import "./permission"; // permission control
@@ -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";
// 鑷畾涔夎〃鏍煎伐鍏风粍浠�
@@ -73,6 +74,8 @@
import DictData from "@/components/DictData";
// 缁勪欢灏佽闆嗘垚
import components from "./components";
+// 璇煶缁勪欢
+import VueAudio from "vue-audio-better";
// 娉ㄥ唽杩囨护鍣�
// 鑷畾涔夋寚浠�
import * as directives from "./directives";
@@ -80,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;
@@ -89,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;
@@ -109,6 +114,7 @@
Vue.use(directive);
Vue.use(plugins);
Vue.use(VueMeta);
+Vue.use(VueAudio);
DictData.install();
Vue.use(components);
// Vue.use(VueQuillEditor)
@@ -134,4 +140,3 @@
store,
render: (h) => h(App),
});
-
--
Gitblit v1.9.3