king
2023-08-17 c7aece35a62b6e91fd98a625bf0e53f64bfbd18d
src/tabviews/zshare/mutilform/mkNumberInput/index.jsx
@@ -37,6 +37,7 @@
  mkFormHandle = (type, uuid, value) => {
    if (uuid !== this.props.config.uuid) return
    if (type === 'focus') {
      let node = document.getElementById(uuid)
      node.select()
@@ -48,7 +49,18 @@
  handleChange = (val) => {
    this.setState({value: val})
    this.props.onChange(val)
    let _val = val
    if (typeof(_val) !== 'number') {
      _val = parseFloat(_val)
      if (isNaN(_val)) {
        _val = ''
      }
    }
    this.props.onChange(_val)
  }
  handleSubmit = () => {