ソースを参照

首页类别 更多 点击增加的问题

Csy817 6 年 前
コミット
9c80844463
2 ファイル変更2 行追加3 行削除
  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;
 }