feat: add ImageMj page view

This commit is contained in:
RockYang
2023-09-13 18:04:31 +08:00
parent 2e13ddf405
commit 3365a6008d
6 changed files with 144 additions and 42 deletions

View File

@@ -4,7 +4,7 @@ const routes = [
{
name: 'home',
path: '/',
redirect: '/chat',
redirect: '/mj',
meta: {title: '首页'},
component: () => import('@/views/Home.vue'),
children: [
@@ -14,13 +14,6 @@ const routes = [
meta: {title: '创作中心'},
component: () => import('@/views/ChatPlus.vue'),
},
{
name: 'chat-id',
path: '/chat/:id',
meta: {title: '创作中心'},
component: () => import('@/views/ChatPlus.vue'),
props: true // 将路由参数传递给组件的 props
},
{
name: 'image-mj',
path: '/mj',