From 13c9300af27750d0e2cf514835fd2c00ae45b9b8 Mon Sep 17 00:00:00 2001
From: kailong321200875 <321200875@qq.com>
Date: Wed, 16 Aug 2023 16:42:32 +0800
Subject: [PATCH] =?UTF-8?q?mod:=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?=
=?UTF-8?q?=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/store/modules/tagsView.ts | 1 -
src/views/Function/MultipleTabsDemo2.vue | 19 +++++++++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
create mode 100644 src/views/Function/MultipleTabsDemo2.vue
diff --git a/src/store/modules/tagsView.ts b/src/store/modules/tagsView.ts
index 599bde5..039ee53 100644
--- a/src/store/modules/tagsView.ts
+++ b/src/store/modules/tagsView.ts
@@ -36,7 +36,6 @@ export const useTagsViewStore = defineStore('tagsView', {
},
// 新增tag
addVisitedView(view: RouteLocationNormalizedLoaded) {
- console.log(view)
if (this.visitedViews.some((v) => v.path === view.path)) return
if (view.meta?.noTagsView) return
this.visitedViews.push(
diff --git a/src/views/Function/MultipleTabsDemo2.vue b/src/views/Function/MultipleTabsDemo2.vue
new file mode 100644
index 0000000..e23002b
--- /dev/null
+++ b/src/views/Function/MultipleTabsDemo2.vue
@@ -0,0 +1,19 @@
+
+
+
+ 获取参数:
+