fix iframe will take away the focus

This commit is contained in:
DiamondThree
2022-08-02 17:03:01 +08:00
parent 6f340adf24
commit 96ea531b4e

View File

@@ -53,7 +53,7 @@ export const useCurrentView = () => {
export const useLazyIframe = (
link: string,
timers: number,
container: MutableRefObject<any>
container: MutableRefObject<HTMLElement>
) => {
const [iframeShow, setIframeShow] = useState(false);
useEffect(() => {