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
@@ -219,7 +219,7 @@ In scrollspy mode, the list of content will be tiled
| title | Title | *string* | - |
| disabled | Whether to disable tab | *boolean* | `false` |
| dot `v2.3.0` | Whether to show red dot on the title | *boolean* | `false` |
| info `v2.3.0` | Content of the badge on the title | *number \| string* | - |
| badge `v2.5.6` | Content of the badge on the title | *number \| string* | - |
| name `v2.0.6` | Identifier | *number \| string* | Index of tab |
| url `v2.2.1` | Link | *string* | - |
| to `v2.2.1` | Target route of the link, same as to of vue-router | *string \| object* | - |