Divier add plain prop
This commit is contained in:
parent
6f22675f39
commit
2bae54e9fe
3 changed files with 17 additions and 4 deletions
|
@ -37,6 +37,11 @@
|
|||
return oneOf(value, ['small', 'default']);
|
||||
},
|
||||
default: 'default'
|
||||
},
|
||||
// 4.5.0
|
||||
plain: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
@ -51,7 +56,8 @@
|
|||
{
|
||||
[`${prefixCls}-with-text`]: this.hasSlot && this.orientation === 'center',
|
||||
[`${prefixCls}-with-text-${this.orientation}`]: this.hasSlot,
|
||||
[`${prefixCls}-dashed`]: !!this.dashed
|
||||
[`${prefixCls}-dashed`]: !!this.dashed,
|
||||
[`${prefixCls}-plain`]: this.plain
|
||||
}
|
||||
];
|
||||
},
|
||||
|
@ -62,4 +68,4 @@
|
|||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue