Kaynağa Gözat

血压bug2881

zhouna 5 yıl önce
ebeveyn
işleme
fe6dc5bd93
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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){