zhangxiaoxu123456
2022-04-15 415d3759a79817aaeb103ed587df3de885ef3832
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
31
32
33
34
35
36
37
38
39
40
41
42
import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App'
import { router } from './router'
import { getStore, setStore, removeStore } from "./libs/store"
import store from './store'
import 'lib-flexible/flexible.js'
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
 
import Plugin from 'v-fit-columns';
 
Vue.use(ElementUI);
Vue.use(Plugin);
 
Vue.prototype.getStore = getStore;
Vue.prototype.setStore = setStore;
Vue.prototype.removeStore = removeStore;
 
Vue.config.productionTip = false
 
 
import vcolorpicker from 'vcolorpicker'
Vue.use(vcolorpicker)
 
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>',
    document: {
        icon: '',
        title: '后台管理'
    },
    watch: {
        $route() {
            document.title = this.$route.meta.title || '出错了'
        }
    }
})