diff --git a/src/components/ui/VnSearchbar.vue b/src/components/ui/VnSearchbar.vue index 8220aa3db..af6fedfa9 100644 --- a/src/components/ui/VnSearchbar.vue +++ b/src/components/ui/VnSearchbar.vue @@ -93,7 +93,7 @@ async function search() { const [firstRow] = rows; await router.push({ path: `${module.path}/${firstRow.id}` }); } else if (route.matched.length > 3) { - await router.push({ path: `/${module.path}` }); + await router.push({ path: `${module.path}` }); arrayData.updateStateParams(); } }