fix
parent
ad58e4d2a0
commit
7fc92658bc
|
|
@ -78,9 +78,7 @@ const Driver = (props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
actionResultRef.current = await queryDriverConfig();
|
actionResultRef.current = await queryDriverConfig();
|
||||||
if(actionResultRef.current?.data === 1){
|
|
||||||
window.location.href= 'https://gbs-gateway.qhdsafety.com/';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
setPageError(error?.message || "页面加载失败,请稍后重试");
|
setPageError(error?.message || "页面加载失败,请稍后重试");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue