| 1234567891011121314151617181920212223 |
- 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 } 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.config.productionTip = false
- new Vue({
- el: '#app',
- i18n,
- store,
- router,
- render: (h) => h(App),
- })
|