瀏覽代碼

修复在特殊情况下输入框高度不一致问题

icssoa 5 月之前
父節點
當前提交
b74a63fac1
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      uni_modules/cool-ui/components/cl-input-number/cl-input-number.uvue

+ 3 - 0
uni_modules/cool-ui/components/cl-input-number/cl-input-number.uvue

@@ -7,6 +7,9 @@
 			},
 			pt.className
 		]"
+		:style="{
+			height: parseRpx(size!)
+		}"
 	>
 		<view
 			class="cl-input-number__minus"