{path: "/serviceManager", component: Cookies.get("ROLES")==="admin"?admin:user}
how to solve this problem when logging out of an account with one permission and logging in to an account with another permission, and if the page is not forced to refresh, the loaded routing page is still the same?