Parcourir la source

Merge branch 'master' of http://gogs.ioobot.com:6680/xy/ec-react

kulley il y a 6 ans
Parent
commit
9e8fec3416
2 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 2 2
      src/pages/home/all/index.js
  2. 0 1
      src/pages/home/detail/index.css

+ 2 - 2
src/pages/home/all/index.js

@@ -70,11 +70,11 @@ class All extends Component {
                             }
 
                             let categoryList = data.categorybyprops
-                            categoryList.push(more)
+                            let dataList =  categoryList.concat(more)
 
                             return (
                                 <Grid
-                                    data={categoryList}
+                                    data={dataList}
                                     hasLine={false}
                                     onClick={(kind)=>{
                                         this.props.history.push({

+ 0 - 1
src/pages/home/detail/index.css

@@ -45,7 +45,6 @@
 
 .detail-complicate-show {
     margin-top: 15px;
-    height: 500px;
     background-color: white;
 }