|
|
|
@ -384,11 +384,11 @@ class Infos extends Component{
|
|
|
|
|
to={`/users/${username}/projects`}>项目</Link>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li className={`${moduleName == 'package' ? 'active' : '' }`}>
|
|
|
|
|
<Link
|
|
|
|
|
onClick={() => this.setState({moduleName: 'package'})}
|
|
|
|
|
to={`/users/${username}/package`}>众包</Link>
|
|
|
|
|
</li>
|
|
|
|
|
{/*<li className={`${moduleName == 'package' ? 'active' : '' }`}>*/}
|
|
|
|
|
{/*<Link*/}
|
|
|
|
|
{/*onClick={() => this.setState({moduleName: 'package'})}*/}
|
|
|
|
|
{/*to={`/users/${username}/package`}>众包</Link>*/}
|
|
|
|
|
{/*</li>*/}
|
|
|
|
|
|
|
|
|
|
{/*{ data && data.identity!="学生" && <li> <a href={`${this.props.Headertop && this.props.Headertop.old_url}/users/${username}?type=m_bank`}>题库</a></li>}*/}
|
|
|
|
|
|
|
|
|
@ -404,11 +404,11 @@ class Infos extends Component{
|
|
|
|
|
|
|
|
|
|
{/* 众包 */}
|
|
|
|
|
{/* http://localhost:3007/courses/1309/homework/9300/setting */}
|
|
|
|
|
<Route exact path="/users/:username/package"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<InfosPackage {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/*<Route exact path="/users/:username/package"*/}
|
|
|
|
|
{/*render={*/}
|
|
|
|
|
{/*(props) => (<InfosPackage {...this.props} {...props} {...this.state} />)*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
{/*></Route>*/}
|
|
|
|
|
|
|
|
|
|
{/* 课堂 */}
|
|
|
|
|
{/* http://localhost:3007/courses/1309/homework/9300/setting */}
|
|
|
|
|