文化云2管理后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

33 lines
854 B

// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import echarts from "echarts";
//引入svg组件
// import IconSvg from './components/svgIcon'
// //全局注册svg-icon
// Vue.component('svg-icon', IconSvg)
Vue.use(Antd);
Vue.config.productionTip = false
Vue.prototype.$echarts = echarts;
// Vue.prototype.$host = 'http://58.30.231.138:8899'
Vue.prototype.$host = 'http://10.24.4.156'
router.beforeEach((to,from,next) => {
// console.log('beforeEach')
document.title = to.meta.title
next()
})
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
components: { App },
template: '<App/>'
})