mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-11 11:40:23 +08:00
front: finish docx & back: init
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import type { AppRouteModule } from '/@/router/types'
|
||||
|
||||
import { ExceptionEnum } from '/@/enums/exceptionEnum'
|
||||
import { LAYOUT } from '/@/router/constant'
|
||||
import { t } from '/@/hooks/web/useI18n'
|
||||
|
||||
const ExceptionPage = () => import('/@/views/sys/exception/Exception.vue')
|
||||
|
||||
const filelist: AppRouteModule = {
|
||||
path: '/filelist',
|
||||
name: 'FileList',
|
||||
@@ -25,6 +27,28 @@ const filelist: AppRouteModule = {
|
||||
hideMenu: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'file/:id',
|
||||
name: 'FilePage',
|
||||
component: () => import('/@/views/page/file/index.vue'),
|
||||
meta: {
|
||||
title: t('routes.filelist.file'),
|
||||
carryParam: true,
|
||||
icon: 'bi:filetype-docx',
|
||||
hideMenu: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '404',
|
||||
name: 'PageNotFound',
|
||||
component: ExceptionPage,
|
||||
props: {
|
||||
status: ExceptionEnum.PAGE_NOT_FOUND,
|
||||
},
|
||||
meta: {
|
||||
title: '404',
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user