瀏覽代碼

血压bug2881

zhouna 5 年之前
父節點
當前提交
fe6dc5bd93
共有 1 個文件被更改,包括 2 次插入2 次删除
  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){