zouyu
2025-11-12 1bef995d9a6cc817bea0318a2a33ea013fe69deb
src/main.js
@@ -1,7 +1,5 @@
import Vue from "vue";
import Cookies from "js-cookie";
import Element from "element-ui";
import "./assets/styles/element-variables.scss";
@@ -52,7 +50,10 @@
// 时间转换
import Moment from "moment";
import Big from 'big.js'
// 全局方法挂载
Vue.prototype.$Big = Big;
Vue.prototype.getDicts = getDicts;
Vue.prototype.getConfigKey = getConfigKey;
Vue.prototype.parseTime = parseTime;
@@ -66,7 +67,7 @@
Vue.prototype.HaveJson = (val) => {
  return JSON.parse(JSON.stringify(val));
};
Vue.prototype.javaApi = "http://192.168.21.53:8001/lims";
Vue.prototype.javaApi = "http://192.168.21.53:7002/lims";
Vue.prototype.checkPermi = checkPermi;
Vue.prototype.uploadHeader = {
  Authorization: "Bearer " + getToken(),
@@ -108,7 +109,7 @@
 */
Vue.use(Element, {
  size: Cookies.get("size") || "medium", // set element-ui default size
  size: localStorage.getItem("size") || "medium", // set element-ui default size
});
Vue.config.productionTip = false;