[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
+2 -1
View File
@@ -28,8 +28,9 @@ export default sfc({
<Cell
center
border={false}
class={bem([type])}
isLink={editable}
class={bem([type])}
value-class={bem('value')}
icon={type === 'edit' ? 'contact' : 'add-square'}
onClick={event => {
if (editable && listeners.click) {