We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.2.25
none
1、display 2、code include is component name key bind component id
<router-view v-slot="{ Component, route }" > {{route.query.id}} <keep-alive :include="includes"> <component :is="Component" :key="route.query.id"></component> </keep-alive> </router-view>
3、add Component
const helloWorlds = ref([ { name: 'world-1', id: 1}, { name: 'world-2', id: 2}, ]) const addWorld = () => { const len = helloWorlds.value.length + 1 helloWorlds.value.push({ name: `world${len}`, id: len }) }
i want cache is empty when adding new component
cache is exist when adding new component
No response
The text was updated successfully, but these errors were encountered:
please provide a reproduction link
Sorry, something went wrong.
No branches or pull requests
Vue version
3.2.25
Link to minimal reproduction
none
Steps to reproduce
1、display
![YkddcDI1bi](https://user-images.githubusercontent.com/24451091/177116266-4c8d1fd7-9ee2-4eec-85e8-e62f2fd013f8.gif)
2、code
include is component name
key bind component id
3、add Component
What is expected?
i want cache is empty when adding new component
What is actually happening?
cache is exist when adding new component
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: