Version
3.1.3
Reproduction link
https://codesandbox.io/s/peaceful-tdd-k2tvn
Steps to reproduce
see gif or
click buttons:
Home -> a.aa.aaa -> Home -> a.aa.bbb
What is expected?
router-view working correctly
What is actually happening?
router-view render last route component not current route path component
But I Change code
if (vnodeData.keepAlive && parent._inactive) {
inactive = true
}
to
if (vnodeData.keepAlive) {
inactive = parent._inactive
}
It's working.
