mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
docs(TreeSelect): fix incorrect activeIds variable name (#12476)
Co-authored-by: iCheng <13384936284@136.com>
This commit is contained in:
@@ -79,7 +79,7 @@ import { ref } from 'vue';
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
const activeId = ref([1, 2]);
|
const activeIds = ref([1, 2]);
|
||||||
const activeIndex = ref(0);
|
const activeIndex = ref(0);
|
||||||
const items = [
|
const items = [
|
||||||
{
|
{
|
||||||
@@ -103,7 +103,7 @@ export default {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
items,
|
items,
|
||||||
activeId,
|
activeIds,
|
||||||
activeIndex,
|
activeIndex,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@@ -83,7 +83,7 @@ import { ref } from 'vue';
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
const activeId = ref([1, 2]);
|
const activeIds = ref([1, 2]);
|
||||||
const activeIndex = ref(0);
|
const activeIndex = ref(0);
|
||||||
const items = [
|
const items = [
|
||||||
{
|
{
|
||||||
@@ -107,7 +107,7 @@ export default {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
items,
|
items,
|
||||||
activeId,
|
activeIds,
|
||||||
activeIndex,
|
activeIndex,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user