feat: 🚀 修复bug
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user