From 853976416a783da8789b8199fa17614072b762c9 Mon Sep 17 00:00:00 2001 From: daihh Date: Mon, 20 Feb 2023 17:31:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E8=AF=95=E5=8D=B7=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E7=BC=96=E8=BE=91=E6=97=B6=E5=9B=9E=E6=98=BE=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E5=BC=95=E8=B5=B7=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/exam/ExamList.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/exam/ExamList.vue b/src/views/exam/ExamList.vue index 421d05e6..f15fbe8d 100644 --- a/src/views/exam/ExamList.vue +++ b/src/views/exam/ExamList.vue @@ -941,7 +941,10 @@ export default { } apiPaper.querypaper(params).then((res) => { if (res.status === 200) { - this.questDirOptions = res.result + this.questDirOptions = res.result; + if(this.examForm.paperId){ + this.changePaper(this.examForm.paperId); + } } else { this.$message.error(res.message) } @@ -1015,6 +1018,7 @@ export default { testDuration:30, entranceTime:'', deadlineTime:'', + paperId:'', times:0, } this.resourceList = []