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
- is this design reasonable, and is it consistent with the original intention of vue"s bucket design?
- 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?