@tarojs/runtime 3.4.2 → 3.4.5

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.
@@ -1723,6 +1723,7 @@ let TaroNode = class TaroNode extends TaroEventTarget {
1723
1723
  * @textContent 目前只能置空子元素
1724
1724
  * @TODO 等待完整 innerHTML 实现
1725
1725
  */
1726
+ // eslint-disable-next-line accessor-pairs
1726
1727
  set textContent(text) {
1727
1728
  const document = this._getElement(ElementNames.Document)();
1728
1729
  const newText = document.createTextNode(text);
@@ -4624,6 +4625,7 @@ function createComponentConfig(component, componentName, data) {
4624
4625
  Current.app.mount(component, path, () => {
4625
4626
  componentElement = document$1.getElementById(path);
4626
4627
  ensure(componentElement !== null, '没有找到组件实例。');
4628
+ this.$taroInstances = instances.get(path);
4627
4629
  safeExecute(path, ON_LOAD);
4628
4630
  if (process.env.TARO_ENV !== 'h5') {
4629
4631
  componentElement.ctx = this;