fix typo
This commit is contained in:
@@ -9,7 +9,7 @@ const { menu, childs } = defineProps({
|
|||||||
|
|
||||||
const trace = menu => {
|
const trace = menu => {
|
||||||
if (menu.childs?.length) {
|
if (menu.childs?.length) {
|
||||||
for (const child of menu.child) {
|
for (const child of menu.childs) {
|
||||||
if (trace(child)) {
|
if (trace(child)) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user