WXL
2024-09-09 4e6c841dd09baff7fafb0e21fec36ee7faf61588
src/main.js
@@ -45,6 +45,7 @@
import { getConfigKey } from "@/api/system/config";
import {
  parseTime,
  formatTime,
  resetForm,
  addDateRange,
  selectDictLabel,
@@ -73,6 +74,8 @@
import DictData from "@/components/DictData";
// 组件封装集成
import components from "./components";
// 语音组件
import VueAudio from 'vue-audio-better'
// 注册过滤器
// 自定义指令
import * as directives from "./directives";
@@ -89,6 +92,7 @@
Vue.prototype.getDicts = getDicts;
Vue.prototype.getConfigKey = getConfigKey;
Vue.prototype.parseTime = parseTime;
Vue.prototype.formatTime = formatTime;
Vue.prototype.resetForm = resetForm;
Vue.prototype.addDateRange = addDateRange;
Vue.prototype.selectDictLabel = selectDictLabel;
@@ -109,6 +113,7 @@
Vue.use(directive);
Vue.use(plugins);
Vue.use(VueMeta);
Vue.use(VueAudio)
DictData.install();
Vue.use(components);
// Vue.use(VueQuillEditor)