add(conversationSerivice):后端新增消息会话服务add(main):完善主面板
This commit is contained in:
@@ -11,6 +11,23 @@ const routes = [
|
||||
{
|
||||
path: '/',
|
||||
component: MainView,
|
||||
children: [
|
||||
{
|
||||
path: '/messages',
|
||||
name: 'userMessages',
|
||||
component: () => import('@/views/messages/MessageList.vue'),
|
||||
children: [
|
||||
{
|
||||
path: '/messages/chat/:id',
|
||||
name: '/msgChat',
|
||||
component: () => import('@/views/messages/MessageContent.vue'),
|
||||
props: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{ path: '/contacts', name: 'userContacts', component: () => import('@/views/contact/ContactList.vue') },
|
||||
{ path: '/settings', name: 'userSettings', component: () => import('@/views/settings/SettingMenu.vue') }
|
||||
],
|
||||
meta: {
|
||||
requiresAuth: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user