From 23beab5084d97f25fb40ee57055436a1c84757f1 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 04 十一月 2024 08:28:17 +0800 Subject: [PATCH] 计划数据 --- src/router/modules/remaining.ts | 42 ++++++++++++++++++++++++++++++++++++++---- 1 files changed, 38 insertions(+), 4 deletions(-) diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index b889036..dcf55c7 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -1,4 +1,4 @@ -import { Layout } from '@/utils/routerHelper' +import {Layout} from '@/utils/routerHelper' const { t } = useI18n() /** @@ -51,11 +51,22 @@ } }, { + path: '/home2', + component: () => import('@/views/Home/Index2.vue'), + name: 'Home2', + meta: { + hidden: true, + noTagsView: true + }, + }, + { path: '/', component: Layout, - redirect: '/index', name: 'Home', - meta: {}, + meta: { + hidden: true, + noTagsView: true + }, children: [ { path: 'index', @@ -338,7 +349,7 @@ children: [ { path: 'package/history/:projectId', - component: () => import('@/views/mpk/ProjectPackageHistory.vue'), + component: () => import('@/views/model/mpk/project/ProjectPackageHistory.vue'), name: 'ProjectPackageHistory', meta: { title: '打包历史', @@ -374,6 +385,29 @@ } ] }, + { + path: '/file', + component: Layout, + name: 'file', + meta: { + hidden: true + }, + children: [ + { + path: 'form/:id?', + component: () => import('@/views/model/mpk/file/MpkForm.vue'), + name: 'MpkForm', + meta: { + title: 'MDK表单', + noCache: true, + hidden: true, + canTo: true, + icon: '', + activeMenu: '/model/file' + } + } + ] + }, ] export default remainingRouter -- Gitblit v1.9.3