docs(DropdownItem): add closed event (#5266)

This commit is contained in:
neverland
2019-12-13 14:55:07 +08:00
committed by GitHub
parent f806403365
commit 70e2161e6b
3 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -101,7 +101,9 @@ export default createComponent({
}
}}
>
{active && <Icon class={bem('icon')} color={activeColor} name="success" />}
{active && (
<Icon class={bem('icon')} color={activeColor} name="success" />
)}
</Cell>
);
});