fix[tags-view]: fixed delete cachedViews bug #395

pull/419/head
Pan 7 years ago
parent 76a6eb12e7
commit 3c0696d1a9

@ -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
}
}

Loading…
Cancel
Save