docs(TreeSelect): fix incorrect activeIds variable name (#12476)

Co-authored-by: iCheng <13384936284@136.com>
This commit is contained in:
iCheng
2023-11-28 14:01:54 +08:00
committed by GitHub
parent dac0349669
commit e6f788172c
2 changed files with 4 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ import { ref } from 'vue';
export default {
setup() {
const activeId = ref([1, 2]);
const activeIds = ref([1, 2]);
const activeIndex = ref(0);
const items = [
{
@@ -103,7 +103,7 @@ export default {
return {
items,
activeId,
activeIds,
activeIndex,
};
},

View File

@@ -83,7 +83,7 @@ import { ref } from 'vue';
export default {
setup() {
const activeId = ref([1, 2]);
const activeIds = ref([1, 2]);
const activeIndex = ref(0);
const items = [
{
@@ -107,7 +107,7 @@ export default {
return {
items,
activeId,
activeIds,
activeIndex,
};
},