feat: 🚀 修复bug

This commit is contained in:
2025-10-17 16:38:54 +08:00
parent 7efeb8faf0
commit c913152460
7 changed files with 100 additions and 26 deletions

View File

@@ -56,6 +56,7 @@ watch(
if (route.meta.isFull) return;
tabsMenuValue.value = route.fullPath;
let title: any = route.query.title ? route.query.title : route.meta.title;
const tabsParams = {
icon: route.meta.icon as string,
title: title,
@@ -63,6 +64,7 @@ watch(
name: route.name as string,
close: !route.meta.isAffix
};
console.log(1232323232323);
tabStore.addTabs(tabsParams);
route.meta.isKeepAlive && keepAliveStore.addKeepAliveName(route.name as string);
},