修复按钮有时候文字未居中问题

This commit is contained in:
2024-09-18 09:21:03 +08:00
parent 530b1cef3d
commit 21b4b9c5b5

View File

@@ -88,7 +88,6 @@ import { computed } from 'vue';
})
function computeStyle(){
return `
height:${props.height}rpx;
line-height:${props.height}rpx;
${props.width>=0?('width:'+props.width+'rpx;'):''}
${props.plain?('background-color:transparent;'):''}