[bugfix] Card: centered prop not work (#2589)

This commit is contained in:
neverland
2019-01-22 22:04:44 +08:00
committed by GitHub
parent d9da76677c
commit 905a5891c9
4 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ export default sfc({
desc: String,
thumb: String,
title: String,
centered: Boolean,
lazyLoad: Boolean,
thumbLink: String,
num: [Number, String],
@@ -67,7 +68,7 @@ export default sfc({
<div class={bem()}>
<div class={bem('header')}>
{Thumb}
<div class={bem('content')}>
<div class={bem('content', { centered: this.centered })}>
{Title}
{Desc}
{slots.tags}