This commit is contained in:
Zyronon
2025-11-18 00:56:50 +08:00
parent b4cf3b3c62
commit d9340f8e04
2 changed files with 12 additions and 13 deletions

View File

@@ -416,12 +416,10 @@
resolve(true);
});
iframe.onload = () => {
// iframe 加载完成,发送命令
iframe.contentWindow.postMessage(
{type: "MIGRATE_REQUEST"},
OLD_ORIGIN
);
iframe.onload = function () {
setTimeout(()=>{
iframe.contentWindow.postMessage({type: "REQUEST_MIGRATION_DATA"}, OLD_ORIGIN);
},3000)
};
});
}