Fix searchbar redirection bug
This commit is contained in:
parent
5b490e1705
commit
5449b34fa0
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue