docs(TreeSelect): correct variable names (#12469)
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