diff --git a/src/pages/midjourney/Index.vue b/src/pages/midjourney/Index.vue index 0e464af..a4d41e1 100644 --- a/src/pages/midjourney/Index.vue +++ b/src/pages/midjourney/Index.vue @@ -36,14 +36,12 @@ import { IApplication, IMidjourneyChannel, MidjourneyImagineAction, - IMidjourneyImagineResponse, IMidjourneyPreset, MIDJOURNEY_CHANNEL_FAST, MIDJOURNEY_CHANNEL_TURBO, MIDJOURNEY_CHANNEL_RELAX, applicationOperator, midjourneyOperator, - MidjourneyImagineState, IMidjourneyImagineTask, IMidjourneyImagineRequest } from '@/operators'; diff --git a/src/router/chat.ts b/src/router/chat.ts index 97e72c0..c252c6e 100644 --- a/src/router/chat.ts +++ b/src/router/chat.ts @@ -1,10 +1,4 @@ -import { - ROUTE_AUTH_CALLBACK, - ROUTE_AUTH_LOGIN, - ROUTE_CHAT_CONVERSATION, - ROUTE_CHAT_CONVERSATION_NEW, - ROUTE_CHAT_INDEX -} from './constants'; +import { ROUTE_CHAT_CONVERSATION, ROUTE_CHAT_CONVERSATION_NEW, ROUTE_CHAT_INDEX } from './constants'; export default { path: '/chat', diff --git a/src/router/constants.ts b/src/router/constants.ts index a4ae48c..ac19e82 100644 --- a/src/router/constants.ts +++ b/src/router/constants.ts @@ -9,6 +9,3 @@ export const ROUTE_CHAT_CONVERSATION_NEW = 'chat-conversation-new'; export const ROUTE_MIDJOURNEY_INDEX = 'midjourney-index'; export const ROUTE_MIDJOURNEY_HISTORY = 'midjourney-history'; - -export const ROUTE_CONVERSATION_NEW = 'conversation-new'; -export const ROUTE_CONVERSATION_DETAIL = 'conversation-detail'; diff --git a/src/router/index.ts b/src/router/index.ts index a5a891d..3e97ee9 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -2,14 +2,14 @@ import { createRouter, createWebHistory } from 'vue-router'; import auth from './auth'; import chat from './chat'; import midjourney from './midjourney'; -import { ROUTE_CONVERSATION_NEW, ROUTE_INDEX } from './constants'; +import { ROUTE_CHAT_INDEX, ROUTE_INDEX } from './constants'; const routes = [ { path: '/', name: ROUTE_INDEX, redirect: { - name: ROUTE_CONVERSATION_NEW + name: ROUTE_CHAT_INDEX } }, auth,