feat: 添加无Layout的空白页面示例

This commit is contained in:
xiaoxian521
2022-08-17 19:39:54 +08:00
parent 8314df9faf
commit e0c8781bcc
8 changed files with 397 additions and 413 deletions

View File

@@ -28,6 +28,17 @@ const remainingRouter = [
component: () => import("/@/layout/redirect.vue")
}
]
},
// 下面是一个无layout菜单的例子一个全屏空白页面因为这种情况极少发生所以只需要在前端配置即可配置路径src/router/modules/remaining.ts
{
path: "/empty",
name: "Empty",
component: () => import("/@/views/empty/index.vue"),
meta: {
title: $t("menus.hsempty"),
showLink: false,
rank: 105
}
}
];