mirror of
https://github.com/youzan/vant.git
synced 2026-05-16 01:07:43 +08:00
feat(Tab): add to、url、replace prop (#4422)
This commit is contained in:
@@ -201,6 +201,9 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
|
||||
| name | Identifier | *string \| number* | Index of tab | - |
|
||||
| title | Title | *string* | - | - |
|
||||
| disabled | Whether to disable tab | *boolean* | `false` | - |
|
||||
| url | Link | *string* | - | 2.2.1 |
|
||||
| to | Target route of the link, same as to of vue-router | *string \| object* | - | 2.2.1 |
|
||||
| replace | If true, the navigation will not leave a history record | *boolean* | `false` | 2.2.1 |
|
||||
|
||||
### Tabs Slots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user