Skip to content
Snippets Groups Projects
Commit 5f20bfc7 authored by mimimi's avatar mimimi Committed by 花裤衩
Browse files

fixed[tagsView]: DEL_OTHERS_VIEWS cachedViews bug (#913)

* mutations DEL_OTHERS_VIEWS state.cachedViews -> i type is string slice(begin: number, end: number)
parent 8851a680
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ const tagsView = {
for (const i of state.cachedViews) {
if (i === view.name) {
const index = state.cachedViews.indexOf(i)
state.cachedViews = state.cachedViews.slice(index, i + 1)
state.cachedViews = state.cachedViews.slice(index, index + 1)
break
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment