We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b35e26a commit 6b9c95bCopy full SHA for 6b9c95b
src/components/layout/Aside.vue
@@ -8,6 +8,7 @@ const menus = getMenus(router, '')
8
9
function getMenus(route: any, path: string) {
10
return route
11
+ .filter((item: any) => item.meta && item.meta.sort)
12
.sort((a: any, b: any) => a.meta.sort - b.meta.sort)
13
.map((item: any) => {
14
if (item.children && item.children.length > 0) {
0 commit comments