breaking change(Button): adjust default native-type to button

This commit is contained in:
chenjiahan
2020-09-13 14:40:31 +08:00
parent 588e15f9b5
commit df8059eb01
5 changed files with 7 additions and 17 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ app.use(Button);
| icon-prefix `v2.6.0` | 图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | _string_ | `van-icon` |
| icon-position `v2.10.7` | 图标展示位置,可选值为 `right` | `left` |
| tag | 按钮根节点的 HTML 标签 | _string_ | `button` |
| native-type | 原生 button 标签的 type 属性 | _string_ | - |
| native-type | 原生 button 标签的 type 属性 | _string_ | `button` |
| block | 是否为块级元素 | _boolean_ | `false` |
| plain | 是否为朴素按钮 | _boolean_ | `false` |
| square | 是否为方形按钮 | _boolean_ | `false` |