fix(button): size style should get from syntheticSize

This commit is contained in:
07akioni 2020-07-07 02:07:43 +08:00
parent 760f0d639b
commit ad9e953d50

View File

@ -4,7 +4,7 @@ import iconSwitchTransition from '../../../styles/_transitions/icon-switch'
export default c([
({ props }) => {
const size = props.$instance.size
const size = props.$instance.syntheticSize
const height = props.$local.height[size]
const fontSize = props.$local.fontSize[size]
const borderRadius = props.$local.borderRadius