We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 759df36 commit 7419d25Copy full SHA for 7419d25
src/components/view.js
@@ -23,7 +23,7 @@ export default {
23
// has been toggled inactive but kept-alive.
24
let depth = 0
25
let inactive = false
26
- while (parent && !parent._routerRoot) {
+ while (parent && parent._routerRoot !== parent) {
27
if (parent.$vnode && parent.$vnode.data.routerView) {
28
depth++
29
}
0 commit comments