easy3wui 1.5.46-beta3 → 1.5.46-beta4

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.
@@ -51,9 +51,10 @@ var Easy3wGridTextArea = function (_Component) {
51
51
  }
52
52
 
53
53
  return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.touchSetHeight = function () {
54
+ var fieldId = _this.props.fieldId;
54
55
  // 获取textarea元素
55
- var textarea = document.getElementById('myTextarea');
56
- console.log('kkkkkkkkkkkkkkkkkkkkkk', textarea);
56
+
57
+ var textarea = document.getElementById(fieldId);
57
58
  if (textarea) {
58
59
  // 监听输入事件
59
60
  textarea.addEventListener('input', function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.5.46-beta3",
3
+ "version": "1.5.46-beta4",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",