【代码优化】AI:image 作品中心的代码

This commit is contained in:
YunaiV
2024-07-30 00:00:44 +08:00
parent 108dcccafe
commit 2ff21aa65e
4 changed files with 76 additions and 48 deletions

View File

@ -70,26 +70,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
}
]
},
// {
// path: '/ai/music',
// component: Layout,
// redirect: '/index',
// name: 'AIMusic',
// meta: {},
// children: [
// {
// path: 'index',
// component: () => import('@/views/ai/music/components/index.vue'),
// name: 'AIMusicIndex',
// meta: {
// title: 'AI 音乐',
// icon: 'ep:home-filled',
// noCache: false,
// affix: true
// }
// }
// ]
// },
{
path: '/user',
component: Layout,
@ -593,6 +573,27 @@ const remainingRouter: AppRouteRecordRaw[] = [
component: () => import('@/views/crm/product/detail/index.vue')
}
]
},
{
path: '/ai',
component: Layout,
name: 'Ai',
meta: {
hidden: true
},
children: [
{
path: 'image/square',
component: () => import('@/views/ai/image/square/index.vue'),
name: 'AiImageSquare',
meta: {
title: '绘图作品',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
}
]
}
]