|
|
@@ -49,8 +49,9 @@ export const useRouterTravelStore = defineStore('routerTravelStore', () => {
|
|
|
|
|
|
const setCurrentRoute = (route: RouteRecordRaw) => {
|
|
|
currentRoute.value = route
|
|
|
+ console.log('route:', route)
|
|
|
|
|
|
- router.push(currentRoute.value!.path)
|
|
|
+ router.push(currentRoute.value)
|
|
|
}
|
|
|
|
|
|
const closeOtherPage = () => {
|