@dcloudio/uni-mp-vue 3.0.0-alpha-3040420220402001 → 3.0.0-alpha-3040420220402004
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue.runtime.esm.js +7 -1
- package/package.json +2 -2
package/dist/vue.runtime.esm.js
CHANGED
|
@@ -5366,7 +5366,13 @@ function createInvoker(initialValue, instance) {
|
|
|
5366
5366
|
const eventValue = invoker.value;
|
|
5367
5367
|
const invoke = () => callWithAsyncErrorHandling(patchStopImmediatePropagation(e, eventValue), instance, 5 /* NATIVE_EVENT_HANDLER */, args);
|
|
5368
5368
|
// 冒泡事件触发时,启用延迟策略,避免同一批次的事件执行时机不正确,对性能可能有略微影响 https://github.com/dcloudio/uni-app/issues/3228
|
|
5369
|
-
|
|
5369
|
+
const eventTarget = e.target;
|
|
5370
|
+
const eventSync = eventTarget
|
|
5371
|
+
? eventTarget.dataset
|
|
5372
|
+
? eventTarget.dataset.eventsync === 'true'
|
|
5373
|
+
: false
|
|
5374
|
+
: false;
|
|
5375
|
+
if (bubbles.includes(e.type) && !eventSync) {
|
|
5370
5376
|
setTimeout(invoke);
|
|
5371
5377
|
}
|
|
5372
5378
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-mp-vue",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3040420220402004",
|
|
4
4
|
"description": "@dcloudio/uni-mp-vue",
|
|
5
5
|
"main": "dist/vue.runtime.esm.js",
|
|
6
6
|
"module": "dist/vue.runtime.esm.js",
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
},
|
|
20
20
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@dcloudio/uni-mp-vue": "3.0.0-alpha-
|
|
22
|
+
"@dcloudio/uni-mp-vue": "3.0.0-alpha-3040420220402004"
|
|
23
23
|
}
|
|
24
24
|
}
|