Skip to content

Commit a734499

Browse files
authored
chore: typo (#278)
1 parent 4526628 commit a734499

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

questions/208-tree-component/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface TreeData {
99
title: string
1010
children: TreeData[]
1111
}
12-
defineProps<{data: TreeData}>()
12+
defineProps<{data: TreeData[]}>()
1313
</script>
1414
1515
<template>

questions/208-tree-component/README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface TreeData {
1010
title: string
1111
children: TreeData[]
1212
}
13-
defineProps<{data: TreeData}>()
13+
defineProps<{data: TreeData[]}>()
1414
</script>
1515
1616
<template>

questions/208-tree-component/TreeComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ interface TreeData {
44
title: string
55
children: TreeData[]
66
}
7-
defineProps<{data: TreeData}>()
7+
defineProps<{data: TreeData[]}>()
88
</script>
99

1010
<template>

0 commit comments

Comments
 (0)