king
2025-04-17 8e5f731b40ae0e51ff1a66481597e987c369fc1e
src/views/transystem/index.jsx
@@ -47,6 +47,9 @@
    } else {
      this.setState({type: type, textInput: '', value: null})
    }
    let node = document.getElementById('trans-input')
    node && node.focus()
  }
  trans = () => {
@@ -711,7 +714,7 @@
        </div>
        <div className="input-wrap">
          <Button onClick={this.trans}>转换</Button>
          <TextArea value={textInput} autoSize={{minRows: 10, maxRows: 10}} onChange={this.changeVal}/>
          <TextArea value={textInput} id="trans-input" autoSize={{minRows: 10, maxRows: 10}} onChange={this.changeVal}/>
        </div>
        <div className="result-wrap">
          <Button onClick={this.copy}>复制</Button>