From a77752e5fb19d735429e2166e83b3c15224377b2 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 04 三月 2025 21:14:51 +0800 Subject: [PATCH] 测试完成 --- src/main.js | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index 532adf6..5549b74 100644 --- a/src/main.js +++ b/src/main.js @@ -35,9 +35,9 @@ 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,11 +45,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); @@ -73,6 +75,8 @@ import DictData from "@/components/DictData"; // 缁勪欢灏佽闆嗘垚 import components from "./components"; +// 璇煶缁勪欢 +import VueAudio from 'vue-audio-better' // 娉ㄥ唽杩囨护鍣� // 鑷畾涔夋寚浠� import * as directives from "./directives"; @@ -89,6 +93,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 +115,7 @@ Vue.use(directive); Vue.use(plugins); Vue.use(VueMeta); +Vue.use(VueAudio) DictData.install(); Vue.use(components); // Vue.use(VueQuillEditor) -- Gitblit v1.9.3