How do I pass the parameters of the routing component to app.vue?

I define a loading variable in app.vue how true, passes a variable to app.vue in the test routing component to change loading to false.
this is the app.vue page wrapped in router-view,

test

how do I pass arr to app.vue and receive to change the value of loading.

Mar.03,2021
There are many

methods, and vuex state management mode is recommended.

Menu