import { Result } from "antd"; import { useEffect, useRef } from "react"; export default function NotFound() { const timeRef = useRef(-1); useEffect(() => { timeRef.current = window.setTimeout(() => { const dom: any = document.querySelector(".noFindPage"); dom.style.opacity = 1; }, 200); return () => { clearTimeout(timeRef.current); }; }, []); return (
); }