src/tabviews/zshare/mutilform/mkNumberInput/index.jsx
@@ -44,15 +44,6 @@ } 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) } } @@ -80,7 +71,7 @@ MKEmitter.emit('mkFC', 'focus', config.tabUuid) } else { MKEmitter.emit('mkFC', 'focus', config.tabUuid) this.props.onSubmit() this.props.onSubmit(config.tabUuid) } }