king
2021-08-26 e9c48bd7356462ba9257540b130a47a65ad1861d
src/tabviews/zshare/mutilform/mkTextArea/index.jsx
@@ -59,6 +59,7 @@
      this.inputRef.current.focus()
    } else if (type === 'input') {
      this.setState({value})
      this.props.onChange(value, true)
    }
  }
@@ -84,7 +85,7 @@
    const { value } = this.state
    return (
      <TextArea ref={this.inputRef} value={value} autoSize={{ minRows: 2, maxRows: config.maxRows || 6 }} onChange={this.onChange} disabled={config.readonly} />
      <TextArea ref={this.inputRef} placeholder={config.placeholder || ''} value={value} autoSize={{ minRows: 2, maxRows: config.maxRows || 6 }} onChange={this.onChange} disabled={config.readonly} />
    )
  }
}