提交 b344d635 authored 作者: vipcxj's avatar vipcxj

fix:文档中动态接口部分路由出错导致不显示

上级 4878b5ac
...@@ -48,7 +48,7 @@ class DocMainPage extends React.PureComponent { ...@@ -48,7 +48,7 @@ class DocMainPage extends React.PureComponent {
<Route path={`${match.path}/index`} component={md(mdIndex)} /> <Route path={`${match.path}/index`} component={md(mdIndex)} />
<Route path={`${match.path}/auth`} component={md(mdAuth)} /> <Route path={`${match.path}/auth`} component={md(mdAuth)} />
<Route path={`${match.path}/domain`} component={md(mdDomain)} /> <Route path={`${match.path}/domain`} component={md(mdDomain)} />
<Route path={`${match.path}/dynamic-interface`} exact component={md(mdDyInt)} /> <Route path={`${match.path}/interface`} exact component={md(mdDyInt)} />
{ {
pages.map(page => ( pages.map(page => (
<Route key={page.name} path={page.path} render={page.render} /> <Route key={page.name} path={page.path} render={page.render} />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论