From cef42554e4aee15f3ab39f94bcd50d100b6f0a22 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Thu, 6 Apr 2023 16:49:27 +0800 Subject: [PATCH] --fix bug --- src/components/drawers/AddOnline.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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(',') || '')