소스 검색

点开查体再点数字键盘输入被选中bug修改

zhouna 5 년 전
부모
커밋
3c966f3ca2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/components/NumberDrop/index.jsx

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

@@ -269,6 +269,7 @@ class NumberDrop extends Component{
             ref = {this.$span}
             onkeyup={this.handleKeyDowm}
             onmousedown={(e)=>e.stopPropagation()}
+            onmouseup={(e)=>e.stopPropagation()}
             onBlur={this.numInpBlur}
             onInput={this.handleSpanInp}
             className={`${this.getSpanClass(nospecial)}`}