From ea57c9f90d4d5a7698257c7cdf7d681fc91f432b Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 25 二月 2026 15:34:48 +0800
Subject: [PATCH] 成品抽样:分页问题修复
---
src/main.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main.js b/src/main.js
index 5f56508..78d6bf8 100644
--- a/src/main.js
+++ b/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,7 @@
Vue.prototype.HaveJson = (val) => {
return JSON.parse(JSON.stringify(val));
};
-Vue.prototype.javaApi = "http://192.168.21.53:8001/lims";
+Vue.prototype.javaApi = process.env.NODE_ENV === "production"?"http://192.168.21.53:8001/lims":"http://127.0.0.1:8001";
Vue.prototype.checkPermi = checkPermi;
Vue.prototype.uploadHeader = {
Authorization: "Bearer " + getToken(),
--
Gitblit v1.9.3