feat: extract css to a single file, add chat_id path variable support

This commit is contained in:
RockYang
2023-09-07 09:29:16 +08:00
parent 1dd6800987
commit 79d25769ee
5 changed files with 765 additions and 373 deletions

View File

@@ -21,11 +21,18 @@ const routes = [
component: () => import('@/views/Register.vue'),
},
{
name: 'plus',
name: 'chat',
path: '/chat',
meta: {title: '创作中心'},
component: () => import('@/views/ChatPlus.vue'),
},
{
name: 'chat-id',
path: '/chat/:id',
meta: {title: '创作中心'},
component: () => import('@/views/ChatPlus.vue'),
props: true // 将路由参数传递给组件的 props
},
{
name: 'chat-export',
path: '/chat/export',