fixed Layout bug

fixed Layout bug
This commit is contained in:
梁灏 2016-12-26 14:50:39 +08:00
parent c6fecfd476
commit 9d844d5318
9 changed files with 281 additions and 23 deletions

View file

@ -34,8 +34,8 @@
computed: {
classes () {
return [
`${prefixCls}`,
{
[`${prefixCls}`]: !this.type,
[`${prefixCls}-${this.type}`]: !!this.type,
[`${prefixCls}-${this.type}-${this.align}`]: !!this.align,
[`${prefixCls}-${this.type}-${this.justify}`]: !!this.justify,