In the keepAlive state, v-if switches subcomponents and does not re-execute the onActivated life cycle
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
Click component 3
What is expected?
Click component 3 onActive lifecycle execution
What is actually happening?
In the keepalive state, component 3, as a child component, should execute the onActive life cycle
System Info
No response
Any additional comments?
No response
<template>
<button @click="setCom(Com2)">com2</button>
<button @click="setCom(Com3)">com3</button>
<KeepAlive>
<component :is="com" />
</KeepAlive>
</template>