From 6aaf1d569e01d9e1fbf8f903bce13ccf7cade204 Mon Sep 17 00:00:00 2001 From: dearLin <1261008090@qq.com> Date: Wed, 11 Mar 2026 15:41:37 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=E6=96=B0=E7=89=88=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jjb.config.js | 4 ++-- package.json | 4 ++-- src/main.js | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/jjb.config.js b/jjb.config.js index 274bbea..53825c3 100644 --- a/jjb.config.js +++ b/jjb.config.js @@ -9,7 +9,7 @@ module.exports = { // 应用后端分支名称,部署上线需要 javaGitBranch: "", // 接口服务地址 - API_HOST: "http://192.168.20.100:30140", + API_HOST: "", }, production: { // 应用后端分支名称,部署上线需要 @@ -24,7 +24,7 @@ module.exports = { contextInject: { // 应用Key appKey: "", - fileUrl: "http://192.168.20.240:9787/mnt", + fileUrl: "https://jpfz.qhdsafety.com/gbsFileTest/", }, // public/index.html注入全局变量 windowInject: { diff --git a/package.json b/package.json index 1af600e..897456f 100644 --- a/package.json +++ b/package.json @@ -30,12 +30,12 @@ "lodash-es": "^4.17.21", "react": "^18.2.0", "react-dom": "^18.2.0", - "zy-react-library": "^1.0.127" + "zy-react-library": "^1.2.4" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", "@babel/plugin-proposal-decorators": "^7.19.3", - "@cqsjjb/scripts": "latest", + "@cqsjjb/scripts": "2.0.0-alpha-1", "@eslint-react/eslint-plugin": "^2.2.2", "cross-env": "^7.0.3", "eslint": "^9.37.0", diff --git a/src/main.js b/src/main.js index 676128f..0ae824d 100644 --- a/src/main.js +++ b/src/main.js @@ -4,11 +4,13 @@ import { message } from "antd"; import dayjs from "dayjs"; import "dayjs/locale/zh-cn"; import "../blessed_by_buddha"; +import { getFileUrlFromServer } from "zy-react-library/utils"; require("antd/dist/reset.css"); require("zy-react-library/css/common.less"); dayjs.locale("zh-cn"); setJJBCommonAntdMessage(message); +getFileUrlFromServer(); const app = setup();