master
parent
183b44c83a
commit
ebaebc926a
|
|
@ -21,7 +21,6 @@ function addRoutes(routNames: string[]) {
|
|||
routNames = routNames.filter((it) => !strings.isEmpty(it) && !router.hasRoute(it))
|
||||
|
||||
const routes = getRoutes(routNames)
|
||||
console.log(routes, 222)
|
||||
for (const routeInfo of routes) {
|
||||
const {parent, route} = routeInfo
|
||||
if (route.name === parent) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue