fix(Circle): incorrect size

This commit is contained in:
chenjiahan 2020-08-28 15:39:53 +08:00
parent 34c1bde0ce
commit 13a63d6fdc

View File

@ -164,7 +164,7 @@ export default createComponent({
};
return () => (
<div class={bem()} style={getSizeStyle(props.buttonSize)}>
<div class={bem()} style={getSizeStyle(props.size)}>
<svg viewBox={`0 0 ${viewBoxSize.value} ${viewBoxSize.value}`}>
{renderGradient()}
{renderHover()}