From 1a7678abd99b9bdc5682e3ea27e49d65e91f37d0 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 04 六月 2026 17:12:33 +0800
Subject: [PATCH] feat(report): 报表图表管理 1.报表管理(样品进度报表,检测项目数据,样品领样记录,设备使用记录) 2.数字化语音看板 3.智能图表

---
 src/main.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main.js b/src/main.js
index 16962eb..78d6bf8 100644
--- a/src/main.js
+++ b/src/main.js
@@ -65,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