How does vue router handle asynchronous data requests between parents and children?

there is a background management system
routing nesting relationship: app.vue > a.vue > b.vue

I want to do this:
send a request to verify the validity of token in app.vue
send a data request in a / b, and the parameters of the data request depend on the relevant parameters returned by the token validity in app.vue.

question

  1. is this design reasonable, and is it consistent with the original intention of vue"s bucket design?
  2. there will be slow data returns in app.vue, but an and b will send their respective requests out of this asynchronous problem. How to solve this problem?
Menu