兜底 页面 样式问题

This commit is contained in:
张成
2025-12-28 11:05:32 +08:00
parent 9f63a2369a
commit e7ee8bc1de
2 changed files with 13 additions and 13 deletions

View File

@@ -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;
}