From ba7293b1910deda9775576552f7e597809f3ebcb Mon Sep 17 00:00:00 2001 From: daihh Date: Thu, 4 Aug 2022 15:54:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=80=83=E8=AF=95=E4=B8=AD?= =?UTF-8?q?=E8=AF=95=E5=8D=B7=E6=98=BE=E7=A4=BA=EF=BC=8C=E6=9C=AA=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8C=E6=9C=AA=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=20=E8=AF=95=E5=8D=B7=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/exam/ExamList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/exam/ExamList.vue b/src/views/exam/ExamList.vue index abb610ff..d993663b 100644 --- a/src/views/exam/ExamList.vue +++ b/src/views/exam/ExamList.vue @@ -1057,7 +1057,9 @@ export default { this.$refs.qrcode.innerHTML = '' }, viewExamInfo(data) { - this.examInfoShow = true + if(this.questDirOptions.length==0){ + this.findPapers(); + } apiTest.detail(data.id).then(res=>{ if (res.status === 200) { this.detailInfo = res.result; @@ -1065,6 +1067,7 @@ export default { this.$message.error(res.message); } }) + this.examInfoShow = true }, loadData() { this.params.resOwner1 = this.ownership[0]