This commit is contained in:
2024-06-13 19:41:57 +08:00
parent b8df6f3403
commit b6f56fe5d8
31 changed files with 691 additions and 273 deletions

View File

@@ -98,10 +98,9 @@ const router = createRouter({
locale: "问题单详情",
icon: "icon-arrow-right"
}
},
}
]
},
// 后台管理的路由以及404和重定向路由
...appRoutes,
REDIRECT_MAIN,

View File

@@ -21,6 +21,21 @@ const TESTMANAGE = {
locale: "项目管理",
icon: "icon-folder"
}
},
// 二级路由(非三级路由,但是想办法把左侧菜单删除)
{
path: "/projBoard/:projectId",
name: "projBoard",
component: () => import("@/views/testmanage/projBoard/index.vue"),
meta: {
requiresAuth: true,
roles: ["*"],
locale: "项目看板",
icon: "icon-folder",
hideInMenu: true,
ignoreCache: false,
noAffix: true
}
}
]
}