@tarojs/runtime 3.4.2 → 3.4.3
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/runtime.esm.js +1 -0
- package/dist/runtime.esm.js.map +1 -1
- package/package.json +4 -4
package/dist/runtime.esm.js
CHANGED
|
@@ -4624,6 +4624,7 @@ function createComponentConfig(component, componentName, data) {
|
|
|
4624
4624
|
Current.app.mount(component, path, () => {
|
|
4625
4625
|
componentElement = document$1.getElementById(path);
|
|
4626
4626
|
ensure(componentElement !== null, '没有找到组件实例。');
|
|
4627
|
+
this.$taroInstances = instances.get(path);
|
|
4627
4628
|
safeExecute(path, ON_LOAD);
|
|
4628
4629
|
if (process.env.TARO_ENV !== 'h5') {
|
|
4629
4630
|
componentElement.ctx = this;
|