feat: 🚀 站点切换

This commit is contained in:
2025-04-09 09:25:12 +08:00
parent af5894dd5a
commit f8d73b1ddb
12 changed files with 115 additions and 97 deletions

View File

@@ -31,6 +31,7 @@ import { useTabsStore } from "@/stores/modules/tabs";
import { useAuthStore } from "@/stores/modules/auth";
import { useKeepAliveStore } from "@/stores/modules/keepAlive";
import { TabsPaneContext, TabPaneName } from "element-plus";
import MoreButton from "./components/MoreButton.vue";
const route = useRoute();
@@ -55,9 +56,6 @@ watch(
() => {
if (route.meta.isFull) return;
tabsMenuValue.value = route.fullPath;
// const TITLES_OBJ = {
// "/articleManagement/list/edit?type=add": "添加文章"
// };
let title: any = route.query.title ? route.query.title : route.meta.title;
const tabsParams = {
icon: route.meta.icon as string,