From 45ca7a8382f1c7ccf800c22625bafb3c0c8f94b8 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Fri, 11 Oct 2024 11:38:18 +0800 Subject: [PATCH] =?UTF-8?q?task#15348,=E8=B0=83=E5=BA=A6app,=E5=9F=B9?= =?UTF-8?q?=E8=AE=AD=E5=AE=8C=E6=88=90=E7=BB=99=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../newcomerTraining/newTrainingList.vue | 25 +++++-------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/src/views/newcomerTraining/newTrainingList.vue b/src/views/newcomerTraining/newTrainingList.vue index 8c1db5d0..651861d4 100644 --- a/src/views/newcomerTraining/newTrainingList.vue +++ b/src/views/newcomerTraining/newTrainingList.vue @@ -109,31 +109,18 @@ export default { docType:1, trainingType:4, }) - this.pageList=res.data?.list; - if(res.assessState === 0){ - this.showPoup=false // - }else if(res.assessState === 1){ - this.isFinished=true //是否完成 - } - if(this.pageList?.length === 0){ - this.showEmpty = true - }else { - this.showEmpty = false - } - /* this.pageList=res.data; - let aaa=this.pageList.every(item=>item.listShowButton != 1) - console.log(aaa) - // if(aaa){ + this.pageList=res.data?.list || []; if(res.assessState === 0){ this.showPoup=false - this.isFinished=true + this.isFinished=false + }else { + this.isFinished=true //是否完成 } - if(res.data.length === 0){ + if(this.pageList?.length == 0){ this.showEmpty = true - }else { this.showEmpty = false - }*/ + } }, initShow(){ this.keyword= '',