Explorar o código

去掉数字输入框上下箭头按钮

lilei %!s(int64=3) %!d(string=hai) anos
pai
achega
9ff4ac73bf
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/components/index.less

+ 3 - 1
src/components/index.less

@@ -17,7 +17,9 @@
     -webkit-line-clamp: 3;    
     overflow: hidden;
 }
-
+.ant-input-number-handler-wrap{
+  display: none;
+}
 /* 扩展ant design pro按钮组件颜色 */
 .ant-btn-primary.button-primary {
   background-color: #39f;