Przeglądaj źródła

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

zhouna 5 lat temu
rodzic
commit
a4d9cbba01
1 zmienionych plików z 2 dodań i 1 usunięć
  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){