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
+6 -6
View File
@@ -15,9 +15,9 @@ Vue.use(TreeSelect);
```html
<van-tree-select
v-model:active-id="activeId"
v-model:main-active-index="activeIndex"
:items="items"
:active-id.sync="activeId"
:main-active-index.sync="activeIndex"
/>
```
@@ -37,9 +37,9 @@ export default {
```html
<van-tree-select
v-model:active-id="activeIds"
v-model:main-active-index="activeIndex"
:items="items"
:active-id.sync="activeIds"
:main-active-index.sync="activeIndex"
/>
```
@@ -58,7 +58,7 @@ export default {
### Custom Content
```html
<van-tree-select height="55vw" :items="items" :main-active-index.sync="active">
<van-tree-select v-model:main-active-index="active" height="55vw" :items="items">
<template #content>
<van-image
v-if="active === 0"
@@ -87,9 +87,9 @@ export default {
```html
<van-tree-select
v-model:main-active-index="activeIndex"
height="55vw"
:items="items"
:main-active-index.sync="activeIndex"
/>
```