diff --git a/src/renderer/src/views/classTask/classTask.vue b/src/renderer/src/views/classTask/classTask.vue index c1ac400..e6c35e3 100644 --- a/src/renderer/src/views/classTask/classTask.vue +++ b/src/renderer/src/views/classTask/classTask.vue @@ -443,7 +443,9 @@ watch( () => [dataList, toolState.isTaskWin], () => { console.log('=监听到批改窗口打开了===', toolState) - closeDialog();// 开启轮询 + if(!toolState.isTaskWin){ + closeDialog();// 开启轮询 + } } ) watch(tabActive, (newVal,oldVal)=>{