When vue has sub-routes, calling this.$router.back (), always switches between sub-routes. Is there any way to jump to the previous route (non-sub-routes) directly?

when vue has sub-routes, calling this.$router.back (), always switches between sub-routes. Is there any way to directly jump to the previous route (non-sub-routes)

Mar.11,2021
Menu