@tarojs/runtime 3.4.4 → 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.
- 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
|
@@ -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);
|