Browse Source

修改核心指标性别女不对齐(2082)

zhangxc 5 years ago
parent
commit
609e624798
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/ChronicInfo/index.jsx

+ 2 - 2
src/components/ChronicInfo/index.jsx

@@ -412,8 +412,8 @@ class ChronicInfo extends React.Component{
                                         </td>
                                         <td>
                                         {Array.isArray(item.details)&&item.isShow == '0'&&item.details.map((ii,ind)=>{
-                                            return <div className={style["chooseItem"]}>
-                                                      {ii.state == 1 && ii.detailName}
+                                            return ii.state == 1 && <div className={style["chooseItem"]}>
+                                                      {ii.detailName}
                                                   </div>
                                           })}
                                           {Array.isArray(item.details)&&item.isShow != '0'&&item.details.map((ii,ind)=>{