docs(TreeSelect): correct variable names (#12469)

This commit is contained in:
inottn
2023-11-24 20:46:40 +08:00
committed by GitHub
parent f0b7af18c6
commit 217ddc54b5
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,
};
},