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",