diff --git a/src/components/drawers/AddOnline.vue b/src/components/drawers/AddOnline.vue index 29e1ab9d..0b93f53c 100644 --- a/src/components/drawers/AddOnline.vue +++ b/src/components/drawers/AddOnline.vue @@ -98,11 +98,11 @@ const columns = ref([ align: "center", }, ]); -watch(taskIndex, () => { - if (taskIndex.value >= 0) { - rowSelectKeys.value = []; - } -}); +// watch(taskIndex, () => { +// if (taskIndex.value >= 0) { +// rowSelectKeys.value = []; +// } +// }); const selectIds = computed(()=>props.chapterList.flatMap(t=>props.infoType===1?t.taskDraftDtoList:t.draftTaskList)?.filter(s=>s?.type===props.type).map(t=>t.courseId).join(',') || '')