From 892e9c01f16712c12f5a54799010aac53295a62e Mon Sep 17 00:00:00 2001 From: lilinyuan <1084668738@qq.com> Date: Wed, 7 Aug 2024 17:02:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E5=85=B6=E4=BB=96=20=E5=90=8E=E5=9C=B0=E5=9D=80=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E6=B8=85=E7=A9=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/tagsview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stores/tagsview.js b/src/stores/tagsview.js index e3f3245..1dc858b 100644 --- a/src/stores/tagsview.js +++ b/src/stores/tagsview.js @@ -44,9 +44,9 @@ export const useTagsView = defineStore('tagsView',()=>{ } //删除其他标签页 - const delOtherVisitedViews = ({path,meta}) => { + const delOtherVisitedViews = ({path,meta,query}) => { visitedViews.value = [] - visitedViews.value.push({path,meta}) + visitedViews.value.push({path,meta,query}) toLastTagView(visitedViews) }