Explorar o código

数字键盘输入超限样式bug修改

zhouna %!s(int64=5) %!d(string=hai) anos
pai
achega
a4d9cbba01
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/components/NumberDrop/index.jsx

+ 2 - 1
src/components/NumberDrop/index.jsx

@@ -92,7 +92,8 @@ class NumberDrop extends Component{
     this.emitBMIData('');
     this.setState({
       placeholder:this.props.placeholder,
-      hasSelect:false
+      hasSelect:false,
+      value:''
     });
   }
   handleNumFocus(e){