I’m now using

and .

When handling Http request, there will be error like

not login
session expired
And I want to navigate to another page when this happen.
If navigating in components, there will be a lot of duplicated code.
I’m thinking whether there is one way to navigate outside components.

I’m not good at English, if I don’t express it clearly, please tell me.
Any help(including grammar, misuse of words) is appreciated.

Anonymous Changed status to publish May 14, 2021