dev-tmp1
tangjie 2026-08-13 14:00:23 +08:00
parent 349ec7b3cc
commit 3d987bdfdf
2 changed files with 5 additions and 2 deletions

View File

@ -9,8 +9,8 @@ module.exports = {
// 应用后端分支名称,部署上线需要
javaGitBranch: "<branch-name>",
// 接口服务地址(注册/填报开放接口需对接网关,本地后端可通过 sessionStorage.API_HOST 覆盖)
//API_HOST: "https://gbs-gateway.qhdsafety.com",
API_HOST: "http://192.168.0.103",
API_HOST: "https://gbs-gateway.qhdsafety.com",
//API_HOST: "http://192.168.0.103",
},
production: {
// 应用后端分支名称,部署上线需要

View File

@ -77,6 +77,9 @@ const Driver = (props) => {
}
actionResultRef.current = await queryDriverConfig();
if(actionResultRef.current?.data === 1){
window.location.href= 'https://gbs-gateway.qhdsafety.com/';
}
}
catch (error) {
setPageError(error?.message || "页面加载失败,请稍后重试");