mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-03-01 00:23:11 +08:00
Fixes bug add baseModal | baseForm 组件
This commit is contained in:
@@ -16,7 +16,7 @@ Object.keys(modules).forEach((key) => {
|
||||
});
|
||||
|
||||
function sortRoute(a, b) {
|
||||
return (a.meta.sort || 0) - (b.meta.sort || 0);
|
||||
return (a.meta?.sort || 0) - (b.meta?.sort || 0);
|
||||
}
|
||||
|
||||
routeModuleList.sort(sortRoute);
|
||||
|
||||
Reference in New Issue
Block a user