[improvement] avoid use cell selector (#2714)

This commit is contained in:
neverland
2019-02-11 19:03:36 +08:00
committed by GitHub
parent 9c4ad97731
commit 9947ab00e8
17 changed files with 58 additions and 60 deletions

View File

@@ -22,11 +22,12 @@ export default sfc({
<CellGroup class={bem()} {...context.data}>
{slots.header || (
<Cell
class={bem('header')}
icon={props.icon}
label={props.desc}
title={props.title}
value={props.status}
class={bem('header')}
value-class={bem('header-value')}
/>
)}
<div class={bem('content')}>{slots.default}</div>