Closed
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.