zhangxiaoxu123
2023-01-05 ae9d10a72efa8ff04852fee6991d901e91f853a2
src/main.js
@@ -14,6 +14,8 @@
import StringUtil from './assets/js/StringUtil'
import TscPrintUtil from './assets/js/TscPrintUtil'
import Print from './assets/js/print'
import moment from 'moment'
Vue.prototype.$moment = moment;
Vue.use(Print) // 注册
import ViewUI from 'view-design';
@@ -27,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序列化,可能存在问题,暂时未发现什么问题
@@ -44,7 +58,7 @@
Vue.prototype.$systemconfig = {
// 服务端路径
    basePath: 'http://183.196.93.178:8089',
    //basePath:'http://localhost:8088'
    //basePath:'http://127.0.0.1:8089'
}
Vue.prototype.$byutil = byUtils
Vue.prototype.$stringUtil = StringUtil