Browse Source

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

zhouna 5 năm trước cách đây
mục cha
commit
3c966f3ca2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)}`}