在对应的css文件添加
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"]{
-moz-appearance: textfield;
}
在对应的css文件添加
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"]{
-moz-appearance: textfield;
}
本文标题:react去掉antd数字输入框的上下三角
本文链接:https://www.haomeiwen.com/subject/kltrohtx.html
网友评论