Fixes bug add baseModal | baseForm 组件

This commit is contained in:
Ah jung
2021-08-05 17:24:24 +08:00
parent 98e1bf0227
commit 8a5f237630
59 changed files with 2056 additions and 106 deletions

View File

@@ -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);