diff --git a/src/store/modules/tagsView.js b/src/store/modules/tagsView.js index ea62c965d032df78c8effc9a0318f6a2c3f1e440..273d33bdcf3828af7bfc3aff6e1befa1611c6c8f 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, index + 1) + state.cachedViews.splice(index, 1) break } }