feat(Tab): add badge prop, mark info prop as deprecated

This commit is contained in:
chenjiahan
2020-03-17 21:06:12 +08:00
parent db94b20c82
commit 214b13b8ff
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ export default createComponent({
refInFor
type={type}
dot={item.dot}
info={item.info}
info={isDef(item.badge) ? item.badge : item.info}
title={item.title}
color={this.color}
style={item.titleStyle}