@tarojs/runtime 4.2.1 → 4.2.2-alpha.2
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/dom/element.js +1 -1
- package/dist/dom/element.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/runtime.esm.js +1 -1
- package/dist/runtime.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/runtime.esm.js
CHANGED
|
@@ -2427,7 +2427,7 @@ class TaroElement extends TaroNode {
|
|
|
2427
2427
|
hooks.call('modifyRemoveEventListener', this, sideEffect, getComponentsAlias);
|
|
2428
2428
|
if (sideEffect !== false && !this.isAnyEventBinded() && SPECIAL_NODES.indexOf(name) > -1) {
|
|
2429
2429
|
const componentsAlias = getComponentsAlias();
|
|
2430
|
-
const value = isHasExtractProp(this) ?
|
|
2430
|
+
const value = name === VIEW && !isHasExtractProp(this) ? PURE_VIEW : `static-${name}`;
|
|
2431
2431
|
const valueAlias = componentsAlias[value]._num;
|
|
2432
2432
|
this.enqueueUpdate({
|
|
2433
2433
|
path: `${this._path}.${"nn" /* Shortcuts.NodeName */}`,
|