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();