@@ -256,8 +256,11 @@ class NumberDrop extends Component{
const spanWidth = window.getComputedStyle(this.$span.current).width;
this.$span.current.style.minWidth=spanWidth;
//保存输入框dom以便聚焦
- const {saveDoms} = this.props;
- saveDoms&&saveDoms(this.$span);
+ const that = this;
+ setTimeout(function(){ //多个其他史/现病史bug修改
+ const {saveDoms} = that.props;
+ saveDoms&&saveDoms(that.$span);
+ })
}
render(){
const {prefix,suffix,show,value,handleHide,allClick} = this.props;