We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ca21e5 commit 69be428Copy full SHA for 69be428
src/directives/internal/component.js
@@ -267,6 +267,7 @@ export default {
267
if (!child || this.keepAlive) {
268
if (child) {
269
// remove ref
270
+ child._inactive = true
271
child._updateRef(true)
272
}
273
return
@@ -319,10 +320,8 @@ export default {
319
320
var self = this
321
var current = this.childVM
322
// for devtool inspection
- if (process.env.NODE_ENV !== 'production') {
323
- if (current) current._inactive = true
324
- target._inactive = false
325
- }
+ if (current) current._inactive = true
+ target._inactive = false
326
this.childVM = target
327
switch (self.params.transitionMode) {
328
case 'in-out':
0 commit comments