perf: 优化路由 rank,当rank 不存在时,根据顺序自动创建,首页路由永远在第一位

This commit is contained in:
xiaoxian521
2022-12-06 21:08:41 +08:00
parent 152a2f8f56
commit 7987a18c70
5 changed files with 24 additions and 16 deletions

View File

@@ -6,6 +6,7 @@ export default {
redirect: "/error/403",
meta: {
icon: "informationLine",
// showLink: false,
title: $t("menus.hsabnormal"),
rank: error
},