update mj panel

This commit is contained in:
AceDataCloud committed 2023-10-05 17:04:35 +08:00
1 parent 6c68c447c2
commit a4923acd46
11 files changed
+135 -31

No files matched your search

+2 -2
View File
@@ -7,8 +7,8 @@ export const ROUTE_CHAT_INDEX = 'chat-index';
export const ROUTE_CHAT_CONVERSATION = 'chat-conversation';
export const ROUTE_CHAT_CONVERSATION_NEW = 'chat-conversation-new';
export const ROUTE_PAINT_INDEX = 'paint-index';
export const ROUTE_PAINT_HISTORY = 'paint-history';
export const ROUTE_MIDJOURNEY_INDEX = 'midjourney-index';
// export const ROUTE_MIDJOURNEY_HISTORY = 'paint-history';
export const ROUTE_CONVERSATION_NEW = 'conversation-new';
export const ROUTE_CONVERSATION_DETAIL = 'conversation-detail';
+3 -6
View File
@@ -1,10 +1,7 @@
import { createRouter, createWebHistory } from 'vue-router';
import auth from './auth';
import conversation from './conversation';
import store from '@/store';
import chat from './chat';
import paint from './paint';
import { ROUTE_AUTH_LOGIN, ROUTE_CONVERSATION_NEW, ROUTE_INDEX } from './constants';
import midjourney from './midjourney';
import { ROUTE_CONVERSATION_NEW, ROUTE_INDEX } from './constants';
const routes = [
{
@@ -15,7 +12,7 @@ const routes = [
}
},
chat,
paint
midjourney
];
const router = createRouter({
+13
View File
@@ -0,0 +1,13 @@
import { ROUTE_MIDJOURNEY_INDEX } from './constants';
export default {
path: '/midjourney',
component: () => import('@/layouts/Main.vue'),
children: [
{
path: '',
name: ROUTE_MIDJOURNEY_INDEX,
component: () => import('@/pages/midjourney/Index.vue')
}
]
};
-13
View File
@@ -1,13 +0,0 @@
import { ROUTE_PAINT_INDEX } from './constants';
export default {
path: '/paint',
component: () => import('@/layouts/Main.vue'),
children: [
{
path: '',
name: ROUTE_PAINT_INDEX,
component: () => import('@/pages/paint/Index.vue')
}
]
};