From a1b13cf923091b57ff1e7da6965cd28b1f6fc44a Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Fri, 22 Nov 2019 16:58:28 +0800 Subject: [PATCH] fix(v3): iOS setTimeout --- packages/uni-app-plus/dist/service.runtime.esm.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/uni-app-plus/dist/service.runtime.esm.js b/packages/uni-app-plus/dist/service.runtime.esm.js index 475f3b5a17..d2336d439a 100644 --- a/packages/uni-app-plus/dist/service.runtime.esm.js +++ b/packages/uni-app-plus/dist/service.runtime.esm.js @@ -1939,7 +1939,8 @@ if (typeof Promise !== 'undefined' && isNative(Promise)) { // microtask queue but the queue isn't being flushed, until the browser // needs to do some other work, e.g. handle a timer. Therefore we can // "force" the microtask queue to be flushed by adding an empty timer. - if (isIOS) { setTimeout(noop); } + // fixed by xxxxxx + // if (isIOS) { setTimeout(noop); } }; } else if (!isIE && typeof MutationObserver !== 'undefined' && ( isNative(MutationObserver) || @@ -6670,7 +6671,7 @@ function updateDOMListeners (oldVnode, vnode) { var on = vnode.data.on || {}; var oldOn = oldVnode.data.on || {}; target$1 = vnode.elm; - + // fixed by xxxxxx 存储 vd target$1._$vd = vnode.context._$vd; var context = vnode.context; -- GitLab