chore: merge src and src-next
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user