feat: 🚀 站点切换
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user