--fix bug

This commit is contained in:
yuping
2023-04-06 16:49:27 +08:00
parent 399339ae12
commit cef42554e4

View File

@@ -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(',') || '')