From 9114404a4a090662c3605201a255c6cfc9450c51 Mon Sep 17 00:00:00 2001 From: tlx6550 <912730337@qq.com> Date: Fri, 22 Dec 2017 10:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dstore=E4=B8=AD=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=BC=93=E5=AD=98=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/tagsView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/tagsView.js b/src/store/modules/tagsView.js index 273d33bd..ea62c965 100644 --- a/src/store/modules/tagsView.js +++ b/src/store/modules/tagsView.js @@ -25,7 +25,7 @@ const tagsView = { for (const i of state.cachedViews) { if (i === view.name) { const index = state.cachedViews.indexOf(i) - state.cachedViews.splice(index, 1) + state.cachedViews.splice(index, index + 1) break } }