This commit is contained in:
Dede Fuji Abdul
2023-10-24 15:25:45 +07:00
parent 96d8550cfe
commit ecce46ea3e

View File

@ -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);
} }