king
2023-11-13 a5f41b5d98f23d618dc7519c605ce943b114dfd5
src/tabviews/zshare/mutilform/mkNumberInput/index.jsx
@@ -40,10 +40,19 @@
    if (type === 'focus') {
      let node = document.getElementById(uuid)
      node.select()
      node && node.select()
    } else if (type === 'input') {
      this.setState({value})
      this.props.onChange(value, true)
    } else if (type === 'reset') {
      let _val = this.props.config.initval
      this.setState({value: _val}, () => {
        let node = document.getElementById(this.props.config.uuid)
        node && node.select()
      })
      this.props.onChange(_val)
    }
  }