@@ -105,7 +105,7 @@ const handleIframeLoad = async (event: Event) => {
try {
// 等待iframe完全加载
await nextTick()
- setTimeout(() => {
+ setTimeout(async () => {
// 检查iframe是否可访问(同源检查)
if (iframe.contentWindow && iframe.contentDocument) {
const iframeDoc = iframe.contentDocument