addRoute方法无法添加子路由 #2032
Unanswered
conanliuhuan
asked this question in
Help and Questions
Replies: 1 comment 1 reply
-
你确定下,你加的是name 不是path? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
addRoute(parentName, route)
官方文档表示,只要第一个参数写了parentName,那么就应该添加为parentName路由的子路由。但事实上却并非如此,仍然只是添加到根记录,并不是添加到父记录的children里面。
这是我理解有误吗?还是BUG哦?
如果我想要添加到某个父记录的children里面应该怎么做?
Beta Was this translation helpful? Give feedback.
All reactions