[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
@@ -0,0 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should not render when info is empty string 1`] = ``;
exports[`should not render when info is empty undefined 1`] = ``;
exports[`should render when info is zero 1`] = `<div class="van-info">0</div>`;