WXL
2025-04-30 6be49398a90a339a6c72ac9ea7a09fc368acda87
src/main.js
@@ -51,6 +51,7 @@
  selectDictLabel,
  selectDictLabels,
  handleTree,
  daysBetween,
} from "@/utils/ruoyi";
import LemonMessageVoice from './websocket/lemon-message-voice';
Vue.component(LemonMessageVoice.name,LemonMessageVoice);
@@ -76,6 +77,8 @@
import components from "./components";
// 语音组件
import VueAudio from 'vue-audio-better'
// 弹框拖动
import '@/utils/drag.js';
// 注册过滤器
// 自定义指令
import * as directives from "./directives";
@@ -93,6 +96,7 @@
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;