@tarojs/runtime 4.2.1-beta.1 → 4.2.1-beta.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/dsl/common.js +4 -5
- package/dist/dsl/common.js.map +1 -1
- package/dist/index.cjs.js +4 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/runtime.esm.js +4 -5
- package/dist/runtime.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/runtime.esm.js
CHANGED
|
@@ -4275,7 +4275,6 @@ function createPageConfig(component, pageName, data, pageConfig) {
|
|
|
4275
4275
|
pageElement.sync();
|
|
4276
4276
|
}
|
|
4277
4277
|
else {
|
|
4278
|
-
bumpNearestCtxEpochForRoot(pageElement);
|
|
4279
4278
|
pageElement.performUpdate(true, cb);
|
|
4280
4279
|
}
|
|
4281
4280
|
}
|
|
@@ -4473,11 +4472,11 @@ function createRecursiveComponentConfig(componentName, forceCustomWrapper = fals
|
|
|
4473
4472
|
const lifeCycles = isCustomWrapper || forceCustomWrapper
|
|
4474
4473
|
? {
|
|
4475
4474
|
[ATTACHED]() {
|
|
4476
|
-
var _a, _b
|
|
4475
|
+
var _a, _b;
|
|
4477
4476
|
if (process.env.TARO_ENV === 'tt' && isEnableTTDom()) {
|
|
4478
4477
|
return;
|
|
4479
4478
|
}
|
|
4480
|
-
const componentId = ((
|
|
4479
|
+
const componentId = ((_a = this.data.i) === null || _a === void 0 ? void 0 : _a.sid) || ((_b = this.props.i) === null || _b === void 0 ? void 0 : _b.sid);
|
|
4481
4480
|
if (isString(componentId)) {
|
|
4482
4481
|
if (isCustomWrapper) {
|
|
4483
4482
|
customWrapperCache.set(componentId, this);
|
|
@@ -4490,11 +4489,11 @@ function createRecursiveComponentConfig(componentName, forceCustomWrapper = fals
|
|
|
4490
4489
|
}
|
|
4491
4490
|
},
|
|
4492
4491
|
[DETACHED]() {
|
|
4493
|
-
var _a, _b
|
|
4492
|
+
var _a, _b;
|
|
4494
4493
|
if (process.env.TARO_ENV === 'tt' && isEnableTTDom()) {
|
|
4495
4494
|
return;
|
|
4496
4495
|
}
|
|
4497
|
-
const componentId = ((
|
|
4496
|
+
const componentId = ((_a = this.data.i) === null || _a === void 0 ? void 0 : _a.sid) || ((_b = this.props.i) === null || _b === void 0 ? void 0 : _b.sid);
|
|
4498
4497
|
if (isString(componentId)) {
|
|
4499
4498
|
if (isCustomWrapper) {
|
|
4500
4499
|
customWrapperCache.delete(componentId);
|