- 博客(1)
- 收藏
- 关注
原创 iframe加载白屏闪烁问题解决
point:onload 事件在frame或者iframe载入完成后被触发。直接上代码:export default function IframeDemo() { const [iframeLoad, setIframeLoad] = useState<boolean>(false); return ( <div className={cn(style.itemImg, style.iframeWrapper)}> /* 添加缺省图/水印 .
2022-04-19 16:36:46 2195
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人