Closed
Closed
Copy link
Description
Vue version
3.5.13
Link to minimal reproduction
Steps to reproduce
Press button 'Run' and switch to tab 'B'
What is expected?
No error
What is actually happening?
With testing, following conditions are necessary to trigger this issue.
KeepAlive
- Comment in A.vue
- Function
Run
ever changed referencerunning
- An element use reference
running
This only occurs in production build.
System Info
No response
Any additional comments?
My real project use electron + typescript + vue.
When it compiles to package, not every build will result in this issue.
But it can always reproduce in vue playground.
Metadata
Metadata
Assignees
Labels
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.A workaround has been found to avoid the problemA workaround has been found to avoid the problem