Merge branch 'master' of https://gitcode.com/hk_openRepo/OpenRepo_Portal
This commit is contained in:
@@ -17,7 +17,7 @@ export default [
|
||||
{
|
||||
path: '',
|
||||
name: 'home',
|
||||
component: () => import('@/views/micro-page/proxy-homeweb.vue'),
|
||||
component: () => import('@/views/Jyh/Home/index.vue'),
|
||||
meta: {
|
||||
micorApp: ['micoro-app-homeweb-app'],
|
||||
hasMobile: true,
|
||||
@@ -61,7 +61,7 @@ export default [
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'search',
|
||||
path: 'repoList',
|
||||
name: 'Search',
|
||||
component: () => import('@/views/Jyh/Search/index.vue'),
|
||||
meta: {
|
||||
@@ -73,6 +73,19 @@ export default [
|
||||
asideMenu: 'drawer' // 左侧菜单抽屉模式
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'repoDetail/basicInfo/:versionId',
|
||||
name: 'VersionDetail',
|
||||
component: () => import('@/views/Jyh/Version/Detail/index.vue'),
|
||||
meta: {
|
||||
title: '软件版本详情',
|
||||
reportTitle: '软件版本详情页',
|
||||
className: 'w-full min-w-full',
|
||||
hiddenFooter: true,
|
||||
hasMobile: true,
|
||||
asideMenu: 'drawer' // 左侧菜单抽屉模式
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'explore',
|
||||
name: 'explore',
|
||||
|
||||
@@ -7,14 +7,12 @@ import dashboardRouter from './config/dashboard';
|
||||
import noticeRouter from './config/notice';
|
||||
import accountRouter from './config/account';
|
||||
import errorRouter from './config/error';
|
||||
import onLineEditor from './config/editor';
|
||||
|
||||
export { injectRouter } from './interceptor';
|
||||
|
||||
export const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
routes: [
|
||||
...onLineEditor,
|
||||
...homeRouter,
|
||||
...accountRouter,
|
||||
...dashboardRouter,
|
||||
|
||||
Reference in New Issue
Block a user