[new feature] Button: add url、to、replace prop (#2754)

This commit is contained in:
neverland
2019-02-15 19:28:20 +08:00
committed by GitHub
parent c5bd04e30a
commit 632cfbcf36
3 changed files with 9 additions and 1 deletions
+3
View File
@@ -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