kongdeqiang
2023-03-30 bc2319e0ab3c23d3fc22e2a1e3aa6f2911f9a365
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序列化,可能存在问题,暂时未发现什么问题