首页版本恢复

This commit is contained in:
谢思 2025-12-31 14:11:45 +08:00
parent 85461b017b
commit 38ea41a107
2 changed files with 4 additions and 4 deletions

View File

@ -720,7 +720,7 @@ class App extends Component {
<Route exact path="/"
render={
(props) => (
<Home {...props} {...this.props} {...this.state} />
<Store {...props} {...this.props} {...this.state} />
)
}
/>

View File

@ -349,7 +349,7 @@ class NewHeader extends Component {
},
{
"name": "供应链治理",
"link": "/projects",
"link": "/governance",
"index": "3",
"hidden": false
},
@ -402,10 +402,10 @@ class NewHeader extends Component {
}
{/* <div className="head-nav pr"> */}
{
settings && settings.navbar && settings.navbar.length > 0 ?
navbarByRoute && navbarByRoute.length > 0 ?
<ul id="header-nav" className="head-nav pr">
{
settings.navbar && settings.navbar.map((item, key) => {
navbarByRoute.map((item, key) => {
if (item.hidden) return
var new_link = item.link;
var is_hidden = item.hidden;