兜底 页面 样式问题
This commit is contained in:
@@ -12,13 +12,12 @@ import './index.scss';
|
||||
|
||||
function Index() {
|
||||
const { statusNavbarHeightInfo } = useGlobalState() || {};
|
||||
const { totalHeight = 98 } = statusNavbarHeightInfo || {};
|
||||
const [countdown, setCountdown] = useState(5);
|
||||
|
||||
// 倒计时自动返回
|
||||
useEffect(() => {
|
||||
if (countdown <= 0) {
|
||||
handle_go_to_home();
|
||||
handle_go_to_home();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user