breaking change(Button): add success type, remove info type
This commit is contained in:
@@ -84,7 +84,7 @@ Use `extra-key` prop to set the content of bottom left button
|
||||
Use `title` prop to set keyboard title
|
||||
|
||||
```html
|
||||
<van-cell plain type="info" @touchstart.stop="show = true">
|
||||
<van-cell plain type="primary" @touchstart.stop="show = true">
|
||||
Show Keyboard With Title
|
||||
</van-cell>
|
||||
<van-number-keyboard
|
||||
|
||||
@@ -93,7 +93,7 @@ export default {
|
||||
通过 `title` 属性可以设置键盘标题
|
||||
|
||||
```html
|
||||
<van-cell plain type="info" @touchstart.stop="show = true">
|
||||
<van-cell plain type="primary" @touchstart.stop="show = true">
|
||||
弹出带标题的键盘
|
||||
</van-cell>
|
||||
<van-number-keyboard
|
||||
|
||||
Reference in New Issue
Block a user