修复按钮有时候文字未居中问题
This commit is contained in:
@@ -88,7 +88,6 @@ import { computed } from 'vue';
|
|||||||
})
|
})
|
||||||
function computeStyle(){
|
function computeStyle(){
|
||||||
return `
|
return `
|
||||||
height:${props.height}rpx;
|
|
||||||
line-height:${props.height}rpx;
|
line-height:${props.height}rpx;
|
||||||
${props.width>=0?('width:'+props.width+'rpx;'):''}
|
${props.width>=0?('width:'+props.width+'rpx;'):''}
|
||||||
${props.plain?('background-color:transparent;'):''}
|
${props.plain?('background-color:transparent;'):''}
|
||||||
|
|||||||
Reference in New Issue
Block a user