From d4737b3aa2f4483b04cd0c7a387e29bb52b793c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 21 Sep 2019 13:11:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=AF=84=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/home/shixunsHome.js | 2 +- public/react/src/modules/tpm/TPMFork/TPMForklist.js | 2 +- public/react/src/modules/tpm/shixuns/ShixunCard.js | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/public/react/src/modules/home/shixunsHome.js b/public/react/src/modules/home/shixunsHome.js index 97e8e52a0..06127f671 100644 --- a/public/react/src/modules/home/shixunsHome.js +++ b/public/react/src/modules/home/shixunsHome.js @@ -351,7 +351,7 @@ class ShixunsHome extends Component {

- + {item.score_info===null?"5分":item.score_info+"分"}

diff --git a/public/react/src/modules/tpm/TPMFork/TPMForklist.js b/public/react/src/modules/tpm/TPMFork/TPMForklist.js index a98e5f995..6f700ad04 100644 --- a/public/react/src/modules/tpm/TPMFork/TPMForklist.js +++ b/public/react/src/modules/tpm/TPMFork/TPMForklist.js @@ -150,7 +150,7 @@ export default class TPMFork_listComponent extends Component {

- + {item.score_info===null?"5分":item.score_info+"分"}

diff --git a/public/react/src/modules/tpm/shixuns/ShixunCard.js b/public/react/src/modules/tpm/shixuns/ShixunCard.js index 9c3dc0058..3fcf95269 100644 --- a/public/react/src/modules/tpm/shixuns/ShixunCard.js +++ b/public/react/src/modules/tpm/shixuns/ShixunCard.js @@ -78,10 +78,11 @@ class ShixunCard extends Component {
+ // style={{display: middleshixundata === undefined || middleshixundata.length === 0 ? "none" : "block"}} + >
- { middleshixundata===undefined?" ":middleshixundata.map((item,key)=>{ + {middleshixundata === undefined || middleshixundata.length === 0?" ":middleshixundata.map((item,key)=>{ return(