whycwx
2021-11-05 76c5377ef0537d715d0f75ee448686dc62080f5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import Vue from 'vue'
import axios from './assets/js/axios'
 
import App from './App.vue'
import router from './router'
import units from './assets/units'
 
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
 
import FlexLayout from './components/FlexLayout.vue'
 
// 注册全局自定义组件
Vue.component("FlexLayout", FlexLayout);
 
Vue.config.productionTip = false
 
Vue.prototype.$axios = axios;
Vue.prototype.$units = units;
 
Vue.use(ElementUI, {
  zIndex: 99
});
 
new Vue({
  router,
  render: function (h) {
    return h(App)
  }
}).$mount('#app')