// 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 ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// import Echarts from 'echarts';
import * as Echarts from 'echarts';
import Axios from "axios";
// import Api from '../static/interface'
// import Qs from "qs"

// Axios.defaults.timeout = 3000 //响应时间
// Axios.defaults.headers.post['Content-Type'] = 'multipart/form-data'; //配置请求头
// Axios.defaults.baseURL = process.env.NODE_HOST; // 配置接口地址
// Axios.defaults.baseURL='https://jtishfw.ncjti.edu.cn/jxch-smartmp'
// console.log('环境：' + process.env.NODE_ENV)

Vue.use(ElementUI);

// Vue.prototype.$qs = Qs;
// Vue.prototype.$api = Api;
Vue.prototype.$axios = Axios;
Vue.prototype.$echarts = Echarts;

Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
	el: '#app',
	router,
	components: {
		App
	},
	template: '<App/>'
});
