easy3wui 1.5.86-5.beta → 1.5.86-6.beta

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.
@@ -19,8 +19,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'd
19
19
  * @param {(text: string) => React.ReactNode} processor - 文本处理函数
20
20
  */
21
21
  function processTextInElement(element, processor, objParam) {
22
- var _this = this;
23
-
24
22
  // 纯文本节点:直接处理
25
23
  if (typeof element === 'string' || typeof element === 'number') {
26
24
  return processor(element, element, objParam);
@@ -29,7 +27,7 @@ function processTextInElement(element, processor, objParam) {
29
27
  // React 元素:递归处理其 children
30
28
  if (_react2['default'].isValidElement(element)) {
31
29
  return _react2['default'].cloneElement.apply(_react2['default'], [element, element.props].concat(_react2['default'].Children.map(element.props.children, function (child) {
32
- return _this.processTextInElement(child, processor);
30
+ return processTextInElement(child, processor);
33
31
  })));
34
32
  }
35
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.5.86-5.beta",
3
+ "version": "1.5.86-6.beta",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",