diff --git a/pages/prescription/prescription.vue b/pages/prescription/prescription.vue index 7baa785..67aa1f0 100644 --- a/pages/prescription/prescription.vue +++ b/pages/prescription/prescription.vue @@ -185,7 +185,7 @@ } getChildrenResultScore(arr).then(res => { this.StudentScore = res.data - if(this.StudentScore.length>0){ + if(this.StudentScore.length==1){ getMotionPrescription(res.data[0].studentId, res.data[0].batchCode).then(res => { this.studentInfoList = res.data this.studentInfoList.forEach(e => {