perf: update

This commit is contained in:
xiaoxian521
2022-05-22 14:39:02 +08:00
parent 747e2b9c1c
commit e9602d23cb
6 changed files with 4258 additions and 1930 deletions

View File

@@ -25,7 +25,7 @@ function ascending(arr: any[]) {
arr.forEach(v => {
if (v?.meta?.rank === null) v.meta.rank = undefined;
if (v?.meta?.rank === 0) {
if (v.name !== "home" && v.path !== "/") {
if (v.name !== "Home" && v.path !== "/") {
console.warn("rank only the home page can be 0");
}
}