fix conversation selection

This commit is contained in:
qcrao
2023-10-04 17:02:01 +08:00
parent 52b7abfbdc
commit 38b5d3a0c5

View File

@@ -26,7 +26,7 @@ function removeAllCheckboxes() {
} }
async function deleteConversation(checkbox) { async function deleteConversation(checkbox) {
const conversationElement = checkbox.closest('.flex.py-3.px-3.items-center.gap-3.relative.rounded-md'); const conversationElement = await checkbox.closest('.flex.p-3.items-center.gap-3.relative.rounded-md')
console.log("1. 开始删除", conversationElement); console.log("1. 开始删除", conversationElement);
conversationElement.click(); // 点击对话 conversationElement.click(); // 点击对话