master
parent
183b44c83a
commit
ebaebc926a
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue