1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- import defaultRouter from './default.router.config'
- export default [
- // chat
- {
- path: '/chat',
- component: '../layouts/ChatLayout',
- routes: [
- {
- path: '/chat',
- component: './Chat/Main'
- }
- ]
- },
- {
- path: '/docs',
- component: './Docs/index',
- routes: [
- {
- path: '/docs/live/wxlive',
- component: './Docs/live/wxlive'
- }
- ]
- },
- // user
- {
- path: '/account',
- component: '../layouts/AccountLayout',
- routes: [
- {
- path: '/account',
- redirect: '/account/login'
- },
- {
- path: '/account/login',
- component: './Account/Login'
- },
- {
- path: '/account/register',
- component: './Account/Register/Register'
- },
- {
- path: '/account/register/tenant',
- component: './Account/Register/RegisterTenant'
- },
- {
- path: '/account/email-activation',
- component: './Account/EmailActivation/EmailActivation'
- },
- {
- path: '/account/confirm-email',
- component: './Account/EmailActivation/ConfirmEmail'
- },
- {
- path: '/account/forgot-password',
- component: './Account/Password/ForgotPassword'
- },
- {
- path: '/account/reset-password',
- component: './Account/Password/ResetPassword'
- }
- ]
- },
- // app
- {
- path: '/report',
- name: '数据面板',
- icon: 'dashboard',
- layout: null,
- component: './FangCom/Report/Index'
- // authority: ['Pages.Administration'],
- },
- {
- path: '/index.html',
- routers: [
- {
- path: '/index.html',
- redirect: '/dashboard'
- }
- ]
- },
- ...defaultRouter
- ]
|