/* * @Author: wanglj 471442253@qq.com * @Date: 2023-01-04 16:23:23 * @LastEditors: liuzhenlin * @LastEditTime: 2023-06-08 10:33:27 * @Description: file content * @FilePath: \订单全流程管理系统\src\main.js */ import Vue from 'vue' import App from './App' import i18n from './i18n' import store from './store' import router from './router' import '@/vab' import { parseTime, translateDataToTree, resetForm, formatPrice, selectDictLabel } from '@/utils' import dictApi from '@/api/system/dict' import PostComment from '@/components/postComments/index.js' Vue.prototype.$PostComment = PostComment Vue.prototype.parseTime = parseTime Vue.prototype.translateDataToTree = translateDataToTree Vue.prototype.getDicts = dictApi.getDictDataByType Vue.prototype.resetForm = resetForm Vue.prototype.selectDictLabel = selectDictLabel Vue.prototype.formatPrice = formatPrice Vue.config.productionTip = false new Vue({ el: '#app', i18n, store, router, render: (h) => h(App), })