update
This commit is contained in:
@ -113,8 +113,6 @@ const onQueryChange = (value: string) => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
query.value = value
|
query.value = value
|
||||||
const data = extractLeafRoutes(routes, '').filter((item: RouteRecordRaw) => item.path.includes('home/') && item.name?.toString().includes(value))
|
|
||||||
console.log(data)
|
|
||||||
}, 300);
|
}, 300);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user