mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
fix(button): size style should get from syntheticSize
This commit is contained in:
parent
760f0d639b
commit
ad9e953d50
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user