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

修复store中删除缓存的bug #368

Merged
merged 1 commit into from Dec 22, 2017
Merged

Conversation

tlx6550
Copy link
Contributor

@tlx6550 tlx6550 commented Dec 22, 2017

经测试,在store中 modules/tagsView.js,删除缓存页面原写法有问题
源代码const index = state.cachedViews.indexOf(i)
state.cachedViews = state.cachedViews.slice(index, i + 1)
应为
const index = state.cachedViews.indexOf(i)
state.cachedViews = state.cachedViews.slice(index, index + 1)

@PanJiaChen
Copy link
Owner

thx~ 👍

@PanJiaChen PanJiaChen merged commit fe25c4d into PanJiaChen:master Dec 22, 2017
@luyuanx2
Copy link

这样改导致这个bug #395 @tlx6550

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

Successfully merging this pull request may close these issues.

None yet

3 participants