lzq 2025-12-03 23:33:49 +08:00
parent 183b44c83a
commit ebaebc926a
1 changed files with 0 additions and 1 deletions

View File

@ -21,7 +21,6 @@ function addRoutes(routNames: string[]) {
routNames = routNames.filter((it) => !strings.isEmpty(it) && !router.hasRoute(it)) routNames = routNames.filter((it) => !strings.isEmpty(it) && !router.hasRoute(it))
const routes = getRoutes(routNames) const routes = getRoutes(routNames)
console.log(routes, 222)
for (const routeInfo of routes) { for (const routeInfo of routes) {
const {parent, route} = routeInfo const {parent, route} = routeInfo
if (route.name === parent) { if (route.name === parent) {