杨树明 5 years ago
parent 46cfbb3158
commit 1757da98d6

@ -304,7 +304,7 @@ class App extends Component {
{/*<Route path="/login" component={LoginRegisterPage}/>*/} {/*<Route path="/login" component={LoginRegisterPage}/>*/}
{/*众包创新*/} {/*众包创新*/}
<Route path={"/crowdsourcing"} component={ProjectPackages}/> <Route path={"/crowdsourcings"} component={ProjectPackages}/>
{/*认证*/} {/*认证*/}
<Route path="/account" component={AccountPage}/> <Route path="/account" component={AccountPage}/>

@ -43,25 +43,25 @@ class ProjectPackageIndex extends Component {
<Switch> <Switch>
{/*众包首页*/} {/*众包首页*/}
<Route path="/crowdsourcing/:id/edit" <Route path="/crowdsourcings/:id/edit"
render={ render={
(props) => (<PackageIndexNewandEdit {...this.props} {...props} {...this.state} />) (props) => (<PackageIndexNewandEdit {...this.props} {...props} {...this.state} />)
} }
></Route> ></Route>
<Route path="/crowdsourcing/new" <Route path="/crowdsourcings/new"
render={ render={
(props) => (<PackageIndexNewandEdit {...this.props} {...props} {...this.state} />) (props) => (<PackageIndexNewandEdit {...this.props} {...props} {...this.state} />)
} }
></Route> ></Route>
<Route path="/crowdsourcing/:id" <Route path="/crowdsourcings/:id"
render={ render={
(props) => (<PackageIndexNEITaskDetails {...this.props} {...props} {...this.state} />) (props) => (<PackageIndexNEITaskDetails {...this.props} {...props} {...this.state} />)
} }
></Route> ></Route>
<Route path="/crowdsourcing" <Route path="/crowdsourcings"
render={ render={
(props) => (<PackageIndex {...this.props} {...props} {...this.state} />) (props) => (<PackageIndex {...this.props} {...props} {...this.state} />)
} }

@ -12,7 +12,6 @@
font-size: 18px; font-size: 18px;
height: 50px; height: 50px;
background:rgba(76,172,255,1); background:rgba(76,172,255,1);
margin-right:18px;
} }
.setissues{ .setissues{

Loading…
Cancel
Save