src/main.js
@@ -49,8 +49,9 @@
import { getToken } from "@/utils/auth";
// 时间转换
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;
@@ -64,7 +65,8 @@
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:8001/lims";
Vue.prototype.javaApi = "http://127.0.0.1:8001";
Vue.prototype.checkPermi = checkPermi;
Vue.prototype.uploadHeader = {
  Authorization: "Bearer " + getToken(),