Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在TagsView中关闭其他选项有一个bug #487

Closed
wsuper opened this issue Mar 6, 2018 · 1 comment
Closed

在TagsView中关闭其他选项有一个bug #487

wsuper opened this issue Mar 6, 2018 · 1 comment

Comments

@wsuper
Copy link

wsuper commented Mar 6, 2018

store->modules->tagsView 代码第28行bug,关闭其他这个选项会导致删除所有缓存,当前页面虽然显示,当再重新打开其他页面,再通过tagsView点击过来,缓存已经消失了,则重新加载
state.cachedViews.splice(i, i+ 1)
i 是一个字符串,
应该修改成
state.cachedViews.splice(index, index + 1)

@PanJiaChen
Copy link
Owner

#913

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants