[bugfix] Tabbar: should not render info when info is empty string
This commit is contained in:
@@ -17,7 +17,7 @@ function Info(
|
||||
slots: DefaultSlots,
|
||||
ctx: RenderContext<InfoProps>
|
||||
) {
|
||||
if (!isDef(props.info)) {
|
||||
if (!isDef(props.info) || props.info === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user