The onActivated function does not trigger under specific conditions
Vue version
3.3.4
Link to minimal reproduction
none
Steps to reproduce
### 1.This is my router configuration 2. ### 3. use onActivated/onMounted in my components
4.Visit the following address
http://localhost/contract/list?a=1 After switching, the page needs to be refreshed twice
What is expected?
These two access addresses have the same lifecycle as Vue; Console printing: onMounted onActivated
What is actually happening?
1. http://localhost/contract/list Console printing: onMounted onActivated
2. http://localhost/contract/list?a=1 Console printing: onMounted
System Info
No response
Any additional comments?
No response