import { useBoolean } from 'ahooks'; import { Skeleton } from 'antd'; import { useRoute } from '@/features/router'; const IframePage = () => { const [loading, { setFalse: endLoading }] = useBoolean(true); const { handle: { url } } = useRoute(); return ( <> {loading && } {url && (