Skip to content

Commit

Permalink
docs(TreeSelect): correct variable names (youzan#12469)
Browse files Browse the repository at this point in the history
  • Loading branch information
inottn authored and CatsAndMice committed Apr 8, 2024
1 parent 564aa0e commit cac8faf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/vant/src/tree-select/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
{
Expand All @@ -103,7 +103,7 @@ export default {

return {
items,
activeId,
activeIds,
activeIndex,
};
},
Expand Down
4 changes: 2 additions & 2 deletions packages/vant/src/tree-select/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
{
Expand All @@ -107,7 +107,7 @@ export default {

return {
items,
activeId,
activeIds,
activeIndex,
};
},
Expand Down

0 comments on commit cac8faf

Please sign in to comment.