DSDSWeb/src/main.js

34 lines
814 B
JavaScript
Raw Normal View History

2024-07-11 18:02:47 +08:00
import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import echarts from 'echarts'
// import 'element-ui/lib/theme-chalk/index.css'
import '../static/css/index.css'
import '../static/css/fonts.css'
import Enlocale from '../node_modules/element-ui/lib/locale/lang/en'
import Zhlocale from '../node_modules/element-ui/lib/locale/lang/zh-CN'
import router from './router/index.js'
2025-11-18 15:33:41 +08:00
2024-07-11 18:02:47 +08:00
import 'echarts-gl'
2025-11-18 15:33:41 +08:00
2024-07-11 18:02:47 +08:00
import axios from 'axios'
import qs from 'qs'
import store from './store/index'
window.sessionStorage.setItem('webInfo', 'ASOS')
Vue.use(ElementUI, { locale: Zhlocale })
2025-11-18 15:33:41 +08:00
2024-07-11 18:02:47 +08:00
Vue.prototype.$axios = axios
Vue.prototype.$qs = qs
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
new Vue({
el: '#app',
router,
store,
components: { App },
template: '<App/>'
})