diff --git a/src/factory/lessons/index.scss b/src/factory/lessons/index.scss index fb6546613..0cd71f95a 100644 --- a/src/factory/lessons/index.scss +++ b/src/factory/lessons/index.scss @@ -437,7 +437,7 @@ .line-3 { height: 6px; - margin-right: 8px; + margin-right: 35px; } @keyframes wave1 { diff --git a/src/factory/resource/components/Search/index.jsx b/src/factory/resource/components/Search/index.jsx index 6d9b17d97..40c96aef9 100644 --- a/src/factory/resource/components/Search/index.jsx +++ b/src/factory/resource/components/Search/index.jsx @@ -19,8 +19,6 @@ function Index(props) { const totalSize = 6 // 聚合查询只查六个 useEffect(() => { - console.log(searchValue); - if (searchValue) { getProjectsList(1) console.log(versionTotal === projectTotal === toolTotal === 0); diff --git a/src/factory/resource/index.jsx b/src/factory/resource/index.jsx index e8f4ee9f9..bdb0c16ad 100644 --- a/src/factory/resource/index.jsx +++ b/src/factory/resource/index.jsx @@ -42,8 +42,7 @@ function Index(props) { useEffect(() => { - console.log(456); - + if (props.location.pathname.includes(selectedType) || (!selectedType && !searchValue)) return if (selectedType) { props.history.push(`/softWareFactory/resource/${selectedType}`); } else { diff --git a/src/forge/Head/Header.js b/src/forge/Head/Header.js index 7d8dabb9f..f716612b0 100644 --- a/src/forge/Head/Header.js +++ b/src/forge/Head/Header.js @@ -51,9 +51,7 @@ class NewHeader extends Component { } } componentDidMount() { - if (this.props.match.path !== '/' && this.props.match.path !== '/softwareFactory') { - console.log(123); - + if (this.props.match.path !== '/' && this.props.match.path !== '/softwareFactory') { this.setState({ isHome: false })