@tarojs/runtime 4.0.9-beta.5 → 4.0.9-beta.6
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/current.d.ts +1 -1
- package/dist/dom/element.js +2 -2
- package/dist/dom/element.js.map +1 -1
- package/dist/dsl/common.d.ts +1 -1
- package/dist/hydrate.js +1 -1
- package/dist/hydrate.js.map +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/runtime.esm.js +3 -3
- package/dist/runtime.esm.js.map +1 -1
- package/package.json +2 -2
- /package/dist/{instance-4007cff2.d.ts → instance-530729bd.d.ts} +0 -0
- /package/dist/{options-4007cff2.d.ts → options-530729bd.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,6 @@ export { nextTick } from "./next-tick.js";
|
|
|
29
29
|
export { options } from "./options.js";
|
|
30
30
|
export * from "./perf.js";
|
|
31
31
|
export * from "./utils/index.js";
|
|
32
|
-
export * from "./instance-
|
|
32
|
+
export * from "./instance-530729bd.js";
|
|
33
33
|
export * from "./index-26658829.js";
|
|
34
34
|
export * from "./polyfill/index.js";
|
package/dist/runtime.esm.js
CHANGED
|
@@ -1342,7 +1342,7 @@ function hydrate(node) {
|
|
|
1342
1342
|
data["nn" /* Shortcuts.NodeName */] = PURE_VIEW;
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
|
-
if (nodeName === VIEW && node.isOnlyClickBinded()) {
|
|
1345
|
+
if (nodeName === VIEW && node.isOnlyClickBinded() && !isHasExtractProp(node)) {
|
|
1346
1346
|
data["nn" /* Shortcuts.NodeName */] = CLICK_VIEW;
|
|
1347
1347
|
}
|
|
1348
1348
|
}
|
|
@@ -2280,7 +2280,7 @@ class TaroElement extends TaroNode {
|
|
|
2280
2280
|
// catchMove = false: view or click-view or static-view
|
|
2281
2281
|
this.enqueueUpdate({
|
|
2282
2282
|
path: `${_path}.${"nn" /* Shortcuts.NodeName */}`,
|
|
2283
|
-
value: value ? catchViewAlias : (this.isOnlyClickBinded() ? clickViewAlias : (this.isAnyEventBinded() ? viewAlias : staticViewAlias))
|
|
2283
|
+
value: value ? catchViewAlias : (this.isOnlyClickBinded() && !isHasExtractProp(this) ? clickViewAlias : (this.isAnyEventBinded() ? viewAlias : staticViewAlias))
|
|
2284
2284
|
});
|
|
2285
2285
|
}
|
|
2286
2286
|
else if (isPureView && isHasExtractProp(this)) {
|
|
@@ -2340,7 +2340,7 @@ class TaroElement extends TaroNode {
|
|
|
2340
2340
|
// catch-view => view or click-view or static-view or pure-view
|
|
2341
2341
|
this.enqueueUpdate({
|
|
2342
2342
|
path: `${_path}.${"nn" /* Shortcuts.NodeName */}`,
|
|
2343
|
-
value: this.isOnlyClickBinded() ? clickViewAlias : (this.isAnyEventBinded() ? viewAlias : (isHasExtractProp(this) ? staticViewAlias : pureViewAlias))
|
|
2343
|
+
value: this.isOnlyClickBinded() && !isHasExtractProp(this) ? clickViewAlias : (this.isAnyEventBinded() ? viewAlias : (isHasExtractProp(this) ? staticViewAlias : pureViewAlias))
|
|
2344
2344
|
});
|
|
2345
2345
|
}
|
|
2346
2346
|
else if (isStaticView && !isHasExtractProp(this)) {
|