feat(SidebarItem): add dot prop (#4432)

This commit is contained in:
neverland
2019-09-11 17:29:08 +08:00
committed by GitHub
parent 80f6b04b9a
commit b1f01c2fb7
5 changed files with 21 additions and 18 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ export default createComponent({
props: {
...routeProps,
dot: Boolean,
info: [Number, String],
title: String,
disabled: Boolean
@@ -42,7 +43,7 @@ export default createComponent({
>
<div class={bem('text')}>
{this.title}
<Info info={this.info} class={bem('info')} />
<Info dot={this.dot} info={this.info} class={bem('info')} />
</div>
</a>
);