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

fix(keep-alive): higher priority for exclude than include #6905

Merged
merged 1 commit into from Oct 25, 2017

Conversation

cuteyumiko
Copy link
Contributor

@cuteyumiko cuteyumiko commented Oct 25, 2017

Here's my problem in some cases :

my routes list: redIndex yellowIndex blueIndex indexBottom page1 page2 page3...
just want to cache all the index page except indexBottom page , but include & exclude can not work together .

i change the match order , so i can write component like this
<keepalive include ='/index/ ' exclude='indexBottom >...

i think it would be more convenient in most scnario

@yyx990803 yyx990803 merged commit 604230f into vuejs:dev Oct 25, 2017
erweixin pushed a commit to erweixin/vue that referenced this pull request Dec 15, 2017
lovelope pushed a commit to lovelope/vue that referenced this pull request Feb 1, 2018
f2009 pushed a commit to f2009/vue that referenced this pull request Jan 25, 2019
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

2 participants