From 8259ec5b0fa0e2183366c2c8b5ef4f48f7d99cad Mon Sep 17 00:00:00 2001 From: wangyan Date: Fri, 3 Apr 2026 14:46:15 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E6=9B=B4=E6=96=B0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E5=92=8C=E4=BE=9D=E8=B5=96=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 清空开发环境后端地址的 API_HOST - 修改应用唯一标识符为 iotalarm - 更新附件地址 fileUrl 为新的 URL - 添加注释并保留原注释的文件上传地址 - 在 package.json 中新增依赖 @ahooksjs/use-url-state - 升级依赖 zy-react-library 到 1.2.19 - 将 @cqsjjb/scripts 版本升级到 2.0.0-alpha-1 - 升级 eslint 到 9.39.2 --- jjb.config.js | 7 ++++--- package.json | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/jjb.config.js b/jjb.config.js index 972d8a1..76e0836 100644 --- a/jjb.config.js +++ b/jjb.config.js @@ -9,7 +9,7 @@ module.exports = { // 应用后端分支名称,部署上线需要 javaGitBranch: "", // 接口服务地址 - API_HOST: "开发环境后端地址", + API_HOST: "", }, production: { // 应用后端分支名称,部署上线需要 @@ -19,12 +19,13 @@ module.exports = { }, }, // 应用唯一标识符 - appIdentifier: "唯一应用标识,与后端gateway相同", + appIdentifier: "iotalarm", // 应用上下文注入全局变量 contextInject: { // 应用Key appKey: "", - fileUrl: "附件地址", + fileUrl: "https://jpfz.qhdsafety.com/gbsFileTest/", + // fileUrl: "https://skqhdg.porthebei.com:9004/file/uploadFiles2/", }, // public/index.html注入全局变量 windowInject: { diff --git a/package.json b/package.json index 32b3797..0d43fe5 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "lint": "eslint --ext .js,.jsx,.tsx --fix src" }, "dependencies": { + "@ahooksjs/use-url-state": "^3.5.1", "@ant-design/icons": "^5.6.1", "@ant-design/pro-components": "^2.8.10", "@cqsjjb/jjb-common-decorator": "latest", @@ -30,15 +31,15 @@ "lodash-es": "^4.17.21", "react": "^18.2.0", "react-dom": "^18.2.0", - "zy-react-library": "latest" + "zy-react-library": "^1.2.19" }, "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", + "eslint": "9.39.2", "eslint-plugin-format": "^1.0.2", "eslint-plugin-react-hooks": "^7.0.0", "eslint-plugin-react-refresh": "^0.4.23",