WXL (wul)
6 天以前 bb52c6fc1455dfa67f345bc37973e954c8491a05
src/main.js
@@ -45,11 +45,14 @@
import { getConfigKey } from "@/api/system/config";
import {
  parseTime,
  formatTime,
  resetForm,
  addDateRange,
  selectDictLabel,
  selectDictLabels,
  desensitization,
  handleTree,
  daysBetween,
} from "@/utils/ruoyi";
import LemonMessageVoice from './websocket/lemon-message-voice';
Vue.component(LemonMessageVoice.name,LemonMessageVoice);
@@ -75,6 +78,8 @@
import components from "./components";
// 语音组件
import VueAudio from 'vue-audio-better'
// 弹框拖动
import '@/utils/drag.js';
// 注册过滤器
// 自定义指令
import * as directives from "./directives";
@@ -91,6 +96,9 @@
Vue.prototype.getDicts = getDicts;
Vue.prototype.getConfigKey = getConfigKey;
Vue.prototype.parseTime = parseTime;
Vue.prototype.formatTime = formatTime;
Vue.prototype.desensitization = desensitization;
Vue.prototype.daysBetween = daysBetween;
Vue.prototype.resetForm = resetForm;
Vue.prototype.addDateRange = addDateRange;
Vue.prototype.selectDictLabel = selectDictLabel;