current position:Home>Keep alive and other problems of 07vue router

Keep alive and other problems of 07vue router

2022-01-27 03:27:42 Deer its deer

router-view It's also a component , If it's directly wrapped in keep-alive Inside , All matching view components will be cached
keep-alive yes Vue A built-in component , You can keep the contained components in state , Or avoid re rendering

copyright notice
author[Deer its deer],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201270327408206.html

Random recommended