| 1234567891011121314151617181920212223242526272829303132 |
- /*
- * @Author: wanglj 471442253@qq.com
- * @Date: 2023-01-04 16:23:23
- * @LastEditors: wanglj
- * @LastEditTime: 2023-01-05 10:36:59
- * @Description: file content
- * @FilePath: \opms_frontend\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 } from '@/utils'
- import dictApi from '@/api/system/dict'
- Vue.prototype.parseTime = parseTime
- Vue.prototype.translateDataToTree = translateDataToTree
- Vue.prototype.getDicts = dictApi.getDictDataByType
- Vue.prototype.resetForm = resetForm
- Vue.prototype.formatPrice = formatPrice
- Vue.config.productionTip = false
- new Vue({
- el: '#app',
- i18n,
- store,
- router,
- render: (h) => h(App),
- })
|