InputNumber中不允许输入小数

<InputNumber
                v-model="row.planQty"
                onKeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
                :min="1"
             
              />

猜你喜欢

转载自blog.csdn.net/weixin_44727080/article/details/127391505
今日推荐