chore: merge src and src-next

This commit is contained in:
chenjiahan
2020-07-15 20:02:00 +08:00
parent 6672b34618
commit 0304fcb6fa
382 changed files with 464 additions and 24746 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ export default {
### Async Control
```html
<van-switch :value="checked" @input="onInput" />
<van-switch :model-value="checked" @update:model:value="onUpdateValue" />
```
```js
@@ -65,7 +65,7 @@ export default {
};
},
methods: {
onInput(checked) {
onUpdateValue(checked) {
Dialog.confirm({
title: 'Confirm',
message: 'Are you sure to toggle switch?',