This commit is contained in:
caishi 2022-04-14 17:56:11 +08:00
parent 6218fe83ed
commit 1fd7a21e9f
3 changed files with 1 additions and 21 deletions

View File

@ -414,13 +414,6 @@ class App extends Component {
</Route> : pathType === '404' ? <Route component={Shixunnopage} />:
""
}
<Route exact path="/"
render={
(props) => (
<Projects {...props} {...this.props} {...this.state}/>
)
}
/>
{/* 个人主页 */}
<Route path="/:username"

View File

@ -59,21 +59,8 @@ class Index extends Component {
<ProjectNew {...this.props} {...props} />
)}
></Route>
<Route
path="/explore/all"
render={(props) => (
<ProjectIndex {...this.props} {...props} />
)}
></Route>
<Route
path="/explore"
render={(props) => (
<ProjectHome {...this.props} {...props} />
)}
></Route>
<Route
path="/"
render={(props) => (
<ProjectIndex {...this.props} {...props} />
)}

View File

@ -25,7 +25,7 @@ body>.-task-title {
.newHeaders{
max-width: unset;
width: 100%;
height:58px;
height:60px;
min-width: 1200px;
z-index: 1000;
background:#001529;