feat: 🚀 钉钉跳转

This commit is contained in:
2025-10-16 15:35:43 +08:00
parent 3c72a248fa
commit 574c46580f
6 changed files with 137 additions and 27 deletions

View File

@@ -107,13 +107,12 @@ const tabClick = (tabItem: TabsPaneContext) => {
// Remove Tab
const tabRemove = (fullPath: TabPaneName) => {
if (fullPath === "/index") {
const name = tabStore.tabsMenuList.filter(item => item.path == fullPath)[0].name || "";
if (fullPath === "/index" || name === "home") {
return;
}
// const name = tabStore.tabsMenuList.filter(item => item.path == fullPath)[0].name || "";
// keepAliveStore.removeKeepAliveName(name);
// tabStore.removeTabs(fullPath as string, fullPath == route.fullPath);
const name = tabStore.tabsMenuList.filter(item => item.path == fullPath)[0].name || "";
tabStore.removeTabs(fullPath as string, fullPath == route.fullPath);
let isKeepAlive = tabStore.tabsMenuList.some((item: any) => {
return item.name === name;