src/main.js
@@ -29,6 +29,18 @@ Vue.use(ElementUI, { size: 'small' }); import echarts from 'echarts' Vue.prototype.$echarts = echarts; import '@/utils/lib-fiexible' import {getStore,setStore,removeStore} from "./libs/store"; Vue.prototype.getStore = getStore Vue.prototype.setStore = setStore Vue.prototype.removeStore = removeStore Vue.prototype.$axios = axios; axios.defaults.withCredentials = true // 对提交的数据进行json序列化,可能存在问题,暂时未发现什么问题