diff --git a/packages/uni-mp-vue/dist/vue.runtime.esm.js b/packages/uni-mp-vue/dist/vue.runtime.esm.js index 8fac8c22b692d91baf7b0a53b18f8bf9e8711af4..d3aaa8e209b35d2719c87e57bf224c968d2d9a8f 100644 --- a/packages/uni-mp-vue/dist/vue.runtime.esm.js +++ b/packages/uni-mp-vue/dist/vue.runtime.esm.js @@ -1413,12 +1413,6 @@ function queueFlush() { currentFlushPromise = resolvedPromise.then(flushJobs); } } -function invalidateJob(job) { - const i = queue.indexOf(job); - if (i > flushIndex) { - queue.splice(i, 1); - } -} function queueCb(cb, activeQueue, pendingQueue, index) { if (!isArray(cb)) { if (!activeQueue || @@ -4430,6 +4424,12 @@ function unwrapper(target) { } function defineAsyncComponent(source) { console.error('defineAsyncComponent is unsupported'); +} +function invalidateJob(job) { + const i = queue.indexOf(job); + if (i > -1) { + queue.splice(i, 1); + } } // import deepCopy from './deepCopy' diff --git a/packages/uni-mp-vue/lib/vue.runtime.esm.js b/packages/uni-mp-vue/lib/vue.runtime.esm.js index ce2349c24a90543ebe880be5a3c48f945a094eaa..d060ae618c778a0b617222c667439e8b8e630855 100644 --- a/packages/uni-mp-vue/lib/vue.runtime.esm.js +++ b/packages/uni-mp-vue/lib/vue.runtime.esm.js @@ -1413,12 +1413,6 @@ function queueFlush() { currentFlushPromise = resolvedPromise.then(flushJobs); } } -function invalidateJob(job) { - const i = queue.indexOf(job); - if (i > flushIndex) { - queue.splice(i, 1); - } -} function queueCb(cb, activeQueue, pendingQueue, index) { if (!isArray(cb)) { if (!activeQueue || @@ -4430,6 +4424,12 @@ function unwrapper(target) { } function defineAsyncComponent(source) { console.error('defineAsyncComponent is unsupported'); +} +function invalidateJob(job) { + const i = queue.indexOf(job); + if (i > -1) { + queue.splice(i, 1); + } } // import deepCopy from './deepCopy'