|
|
@@ -356,7 +356,7 @@ const handleIframeLoad = async (event: Event) => {
|
|
|
slidesStore.updateElement({ id: info.id, props: { isDone: true } })
|
|
|
}
|
|
|
else {
|
|
|
- // message.warning('type=73 跨域,尝试抓取 HTML 做 srcdoc')
|
|
|
+ message.info('type=73 跨域,尝试抓取 HTML 做 srcdoc')
|
|
|
console.log('type=73 跨域,尝试抓取 HTML 做 srcdoc')
|
|
|
let html: string | null = null
|
|
|
try {
|
|
|
@@ -380,7 +380,7 @@ const handleIframeLoad = async (event: Event) => {
|
|
|
}
|
|
|
|
|
|
if (html) {
|
|
|
- // message.warning('type=73 抓取成功,切换为 srcdoc' + html)
|
|
|
+ message.info('type=73 抓取成功,切换为 srcdoc' + html)
|
|
|
console.log('type=73 抓取成功,切换为 srcdoc')
|
|
|
// 更新 slidesStore:设 isHTML、url=html、curl=原始链接、isDone=true
|
|
|
// 触发 watch url → iframeKey++ → iframe 重建为 srcdoc 模式
|