@tarojs/runtime 4.1.12-beta.36 → 4.1.12-beta.37
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 -4
- package/dist/dsl/common.js.map +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/runtime.esm.js +4 -4
- package/dist/runtime.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/runtime.esm.js
CHANGED
|
@@ -4315,8 +4315,8 @@ function createRecursiveComponentConfig(componentName, forceCustomWrapper = fals
|
|
|
4315
4315
|
const lifeCycles = isCustomWrapper || forceCustomWrapper
|
|
4316
4316
|
? {
|
|
4317
4317
|
[ATTACHED]() {
|
|
4318
|
-
var _a, _b;
|
|
4319
|
-
const componentId = ((_a = this.data
|
|
4318
|
+
var _a, _b, _c, _d;
|
|
4319
|
+
const componentId = ((_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.i) === null || _b === void 0 ? void 0 : _b.sid) || ((_d = (_c = this.props) === null || _c === void 0 ? void 0 : _c.i) === null || _d === void 0 ? void 0 : _d.sid);
|
|
4320
4320
|
if (isString(componentId)) {
|
|
4321
4321
|
if (isCustomWrapper) {
|
|
4322
4322
|
customWrapperCache.set(componentId, this);
|
|
@@ -4329,8 +4329,8 @@ function createRecursiveComponentConfig(componentName, forceCustomWrapper = fals
|
|
|
4329
4329
|
}
|
|
4330
4330
|
},
|
|
4331
4331
|
[DETACHED]() {
|
|
4332
|
-
var _a, _b;
|
|
4333
|
-
const componentId = ((_a = this.data
|
|
4332
|
+
var _a, _b, _c, _d;
|
|
4333
|
+
const componentId = ((_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.i) === null || _b === void 0 ? void 0 : _b.sid) || ((_d = (_c = this.props) === null || _c === void 0 ? void 0 : _c.i) === null || _d === void 0 ? void 0 : _d.sid);
|
|
4334
4334
|
if (isString(componentId)) {
|
|
4335
4335
|
if (isCustomWrapper) {
|
|
4336
4336
|
customWrapperCache.delete(componentId);
|