From ae4290bdda94767281c1aab0e4a6b5a24e9c89a4 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 3 Oct 2020 20:05:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B5=E7=AD=BE=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=89=80=E6=9C=89=E5=9B=BA=E5=AE=9A=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E4=B8=8D=E5=88=B7=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/layout/components/TagsView/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/layout/components/TagsView/index.vue b/ruoyi-ui/src/layout/components/TagsView/index.vue index 529090a74..dce967cfb 100644 --- a/ruoyi-ui/src/layout/components/TagsView/index.vue +++ b/ruoyi-ui/src/layout/components/TagsView/index.vue @@ -160,7 +160,7 @@ export default { }, closeAllTags(view) { this.$store.dispatch('tagsView/delAllViews').then(({ visitedViews }) => { - if (this.affixTags.some(tag => tag.path === view.path)) { + if (this.affixTags.some(tag => tag.path === this.$route.path)) { return } this.toLastView(visitedViews, view)