mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
chore(SubmitBar): extract render function
This commit is contained in:
@@ -4,9 +4,7 @@ function iframeReady(iframe, callback) {
|
||||
if (iframe.contentWindow.replacePath) {
|
||||
callback();
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
interval();
|
||||
}, 50);
|
||||
setTimeout(interval, 50);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user