diff --git a/src/router/index.ts b/src/router/index.ts index 5fa92da2..d07dc81b 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -62,7 +62,7 @@ const routes: RouteRecordRaw[] = [ component: () => import('@/views/Meals.vue'), }, { - path: '/travel', + path: '/travel/:travelId?', name: 'travel', component: () => import('@/views/Travel.vue'), },