mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-02-02 19:08:40 +08:00
fix: 修复多tab带参数匹配不正确的bug (#1482)
This commit is contained in:
parent
54ea44cdad
commit
aab6b4f393
@ -34,7 +34,7 @@ export function useTabs(_router?: Router) {
|
||||
|
||||
function getCurrentTab() {
|
||||
const route = unref(currentRoute);
|
||||
return tabStore.getTabList.find((item) => item.path === route.path)!;
|
||||
return tabStore.getTabList.find((item) => item.fullPath === route.fullPath)!;
|
||||
}
|
||||
|
||||
async function updateTabTitle(title: string, tab?: RouteLocationNormalized) {
|
||||
|
Loading…
Reference in New Issue
Block a user