Jelajahi Sumber

血压bug2881

zhouna 5 tahun lalu
induk
melakukan
fe6dc5bd93
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/components/NumberDrop/index.jsx

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

@@ -96,14 +96,14 @@ class NumberDrop extends Component{
     });
   }
   handleNumFocus(e){
-    /*const {placeholder} = this.state;
+    const {placeholder} = this.state;
     const val = e.target.innerText.trim();
     //console.log(33,e.target.innerText,placeholder,e.target.innerText.trim() == placeholder)
     if(val!=''&&val == placeholder){
       this.setState({
         placeholder:''
       });
-    }*/
+    }
     e.stopPropagation();
   }
   handleKeyDowm(e){