From def2bd32da00557cdfd6180159b87cee759f413e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com> Date: Thu, 26 Sep 2024 16:25:09 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BD=9C=E4=B8=9A=E6=A6=82=E5=86=B5]=20-=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=82=B9=E5=87=BB=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/classTask/container/item-dialog.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/src/views/classTask/container/item-dialog.vue b/src/renderer/src/views/classTask/container/item-dialog.vue index 2d6b3a5..91d9b63 100644 --- a/src/renderer/src/views/classTask/container/item-dialog.vue +++ b/src/renderer/src/views/classTask/container/item-dialog.vue @@ -539,6 +539,10 @@ const workHandle = (type) => { classWorkAnalysis.view = type const isClose = type != 'quizStats' && !! classWorkActiveData.timerId const isOpen = type == 'quizStats' && !classWorkActiveData.timerId + // 每次进来都重新调用一次 + if(type == 'quizStats') { + getWorkFeedList(); + } if (isClose) clearInterval(classWorkActiveData.timerId) // 关闭定时器 if (isOpen) { // 轮询 更新学生作答数据 -- 2.44.0.windows.1