From 62c733a23248a783f6050df9d5dedc580a1af560 Mon Sep 17 00:00:00 2001 From: dearLin <1261008090@qq.com> Date: Fri, 27 Feb 2026 17:33:50 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=E7=AD=BE=E8=AE=A2=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jjb.config.js | 4 ++-- package.json | 2 +- src/main.js | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/jjb.config.js b/jjb.config.js index 80a917e..3a148fa 100644 --- a/jjb.config.js +++ b/jjb.config.js @@ -10,13 +10,13 @@ module.exports = { javaGitBranch: "", // 接口服务地址 // API_HOST: "http://192.168.20.100:30140", - API_HOST: "https://gbs-gateway.qhdsafety.com", + API_HOST: "http://localhost:80", }, production: { // 应用后端分支名称,部署上线需要 javaGitBranch: "", // 接口服务地址 - API_HOST: "", + API_HOST: "https://gbs-gateway.qhdsafety.com", }, }, // 应用唯一标识符 diff --git a/package.json b/package.json index 879475f..f9dc40e 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "react-to-print": "^3.2.0", - "zy-react-library": "^1.1.10" + "zy-react-library": "^1.2.3" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", diff --git a/src/main.js b/src/main.js index 7f79acf..98323e4 100644 --- a/src/main.js +++ b/src/main.js @@ -2,6 +2,7 @@ import { setJJBCommonAntdMessage } from "@cqsjjb/jjb-common-lib"; import { setup } from "@cqsjjb/jjb-dva-runtime"; import { message } from "antd"; import dayjs from "dayjs"; +import { getFileUrlFromServer } from "zy-react-library/utils"; import "dayjs/locale/zh-cn"; import "../blessed_by_buddha"; @@ -10,7 +11,7 @@ require("zy-react-library/css/common.less"); dayjs.locale("zh-cn"); setJJBCommonAntdMessage(message); - +getFileUrlFromServer(); const app = setup(); // 非底座环境运行