[bugfix] Tabbar: should not render info when info is empty string

This commit is contained in:
陈嘉涵
2019-05-13 10:28:39 +08:00
parent c40cb1275f
commit 60710607bc
3 changed files with 40 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ function Info(
slots: DefaultSlots,
ctx: RenderContext<InfoProps>
) {
if (!isDef(props.info)) {
if (!isDef(props.info) || props.info === '') {
return;
}