fixed:新版前端

master
dearLin 2026-03-11 15:41:37 +08:00
parent 0b971f39b9
commit 6aaf1d569e
3 changed files with 6 additions and 4 deletions

View File

@ -9,7 +9,7 @@ module.exports = {
// 应用后端分支名称,部署上线需要
javaGitBranch: "<branch-name>",
// 接口服务地址
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: {

View File

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

View File

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