mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
fix: 修改跳转路由
This commit is contained in:
parent
e052fe12d5
commit
48b0d0eba7
@ -46,7 +46,7 @@ export default class App extends Component {
|
|||||||
<div className="router-main">
|
<div className="router-main">
|
||||||
<Header />
|
<Header />
|
||||||
<Route path="/" component={Home} exact />
|
<Route path="/" component={Home} exact />
|
||||||
<Route path="/group" component={ ProjectGroups } >
|
<Route path="/group" component={ requireAuthentication(ProjectGroups) } >
|
||||||
<Route exact path="/group/:groupName" component={ ProjectGroups } />
|
<Route exact path="/group/:groupName" component={ ProjectGroups } />
|
||||||
</Route>
|
</Route>
|
||||||
<Route path="/Interface" component={requireAuthentication(Interface)} />
|
<Route path="/Interface" component={requireAuthentication(Interface)} />
|
||||||
|
@ -139,8 +139,8 @@ class HeaderCom extends Component {
|
|||||||
onClick={this.linkTo}
|
onClick={this.linkTo}
|
||||||
selectedKeys={[curKey]}
|
selectedKeys={[curKey]}
|
||||||
>
|
>
|
||||||
<Menu.Item key="/ProjectGroups">
|
<Menu.Item key="/group">
|
||||||
<Link to="/ProjectGroups">项目广场</Link>
|
<Link to="/group">项目广场</Link>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
</Menu>
|
</Menu>
|
||||||
<div className="user-toolbar">
|
<div className="user-toolbar">
|
||||||
|
Loading…
Reference in New Issue
Block a user