fix: 路由父级的记录改为全局 修复点击选项卡X无法跳转到正确来源的bug
This commit is contained in:
@ -82,8 +82,6 @@
|
||||
const tabStore = useMultipleTabStore();
|
||||
const router = useRouter();
|
||||
const currentRoute = router.currentRoute.value;
|
||||
const parentRoutePath = localStorage.getItem('parentRoutePath');
|
||||
localStorage.removeItem('parentRoutePath');
|
||||
const fullPath = currentRoute.fullPath;
|
||||
const rQuery = currentRoute.query;
|
||||
const rParams = currentRoute.params;
|
||||
@ -137,7 +135,7 @@
|
||||
}
|
||||
|
||||
function close() {
|
||||
tabStore.closeTab(currentRoute, router, parentRoutePath);
|
||||
tabStore.closeTab(currentRoute, router);
|
||||
}
|
||||
|
||||
async function onApproveClick() {
|
||||
|
||||
Reference in New Issue
Block a user