详情文件预览
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { createRouter, createWebHashHistory } from 'vue-router'
|
||||
import { createRouter, createWebHashHistory } from 'vue-router'
|
||||
import staticRoutes from '@/router/static'
|
||||
import { useAdminInfo } from '@/stores/adminInfo'
|
||||
import NProgress from 'nprogress'
|
||||
|
||||
@@ -225,6 +225,14 @@ const staticRoutes: Array<RouteRecordRaw> = [
|
||||
title: pageTitle('notFound') // 页面不存在
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/previewFile',
|
||||
name: 'previewFile',
|
||||
component: () => import('@/components/PreviewFile/index.vue'),
|
||||
meta: {
|
||||
title: pageTitle('previewFile')
|
||||
}
|
||||
},
|
||||
{
|
||||
// 后台找不到页面了-可能是路由未加载上
|
||||
path: adminBaseRoutePath + ':path(.*)*',
|
||||
|
||||
Reference in New Issue
Block a user