chore(SubmitBar): extract render function

This commit is contained in:
chenjiahan
2020-09-06 23:06:20 +08:00
parent a5ac887477
commit c655c96026
4 changed files with 71 additions and 65 deletions

View File

@@ -4,9 +4,7 @@ function iframeReady(iframe, callback) {
if (iframe.contentWindow.replacePath) {
callback();
} else {
setTimeout(() => {
interval();
}, 50);
setTimeout(interval, 50);
}
};