We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
通过父子路由配置,可以将视图页面结构构造成树结构
The text was updated successfully, but these errors were encountered:
{ path: 'docs', children: [ { path: '', component: DocsComponent }, { path: ':id', component: DocDetailComponent } ] }
{ path: 'docs', component: DocsComponent, children: [ { path: ':id', component: DocDetailComponent } ] },
按照错误配置,当链接地址为/docs/id,实际上视图是不会切换的。子路由配置,一定要确保有path=""的配置。
/docs/id
子路由配置,一定要确保有path=""的配置。
Sorry, something went wrong.
No branches or pull requests
通过父子路由配置,可以将视图页面结构构造成树结构
The text was updated successfully, but these errors were encountered: