mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +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 {
|
||||
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,
|
||||
};
|
||||
},
|
||||
|
@@ -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,
|
||||
};
|
||||
},
|
||||
|
Reference in New Issue
Block a user