[new feature] Button: add url、to、replace prop (#2754)
This commit is contained in:
@@ -71,6 +71,9 @@ Vue.use(Button);
|
||||
| disabled | Whether to disable button | `Boolean` | `false` |
|
||||
| loading | Whether show loading status | `Boolean` | `false` |
|
||||
| loading-text | Loading text | `String` | - |
|
||||
| url | Link URL | `String` | - |
|
||||
| to | Target route of the link, same as to of `vue-router` | `String | Object` | - |
|
||||
| replace | If true, the navigation will not leave a history record | `String` | `false` |
|
||||
|
||||
### Event
|
||||
|
||||
|
||||
Reference in New Issue
Block a user