diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 9d69fcf..5df9620 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -34,15 +34,20 @@ const routes = [ }, { path: '/quick-connect', - name: 'QuickConnect', - component: () => import('@/views/QuickConnect.vue'), - meta: { requiresAuth: true } - }, - { - path: '/quick-connect-terminal', - name: 'QuickConnectTerminal', - component: () => import('@/views/QuickConnectTerminal.vue'), - meta: { requiresAuth: true } + component: () => import('@/views/QuickConnectLayout.vue'), + meta: { requiresAuth: true }, + children: [ + { + path: '', + name: 'QuickConnect', + component: () => import('@/views/QuickConnect.vue') + }, + { + path: 'terminal', + name: 'QuickConnectTerminal', + component: () => import('@/views/QuickConnectTerminal.vue') + } + ] }, { path: '/terminal-new', diff --git a/frontend/src/views/QuickConnect.vue b/frontend/src/views/QuickConnect.vue index 986fa75..7e447b8 100644 --- a/frontend/src/views/QuickConnect.vue +++ b/frontend/src/views/QuickConnect.vue @@ -1,17 +1,6 @@