fixed #4415
This commit is contained in:
parent
b778e4ff4f
commit
f308dcac80
3 changed files with 16 additions and 3 deletions
|
@ -31,6 +31,12 @@
|
|||
dashed: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
size: {
|
||||
validator (value) {
|
||||
return oneOf(value, ['small', 'default']);
|
||||
},
|
||||
default: 'default'
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
@ -41,6 +47,7 @@
|
|||
return [
|
||||
`${prefixCls}`,
|
||||
`${prefixCls}-${this.type}`,
|
||||
`${prefixCls}-${this.size}`,
|
||||
{
|
||||
[`${prefixCls}-with-text`]: this.hasSlot && this.orientation === 'center',
|
||||
[`${prefixCls}-with-text-${this.orientation}`]: this.hasSlot,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue