* Change import task request type.

This commit is contained in:
caoyanyi
2023-08-29 15:15:54 +08:00
parent 90dbfe7879
commit 64f5c3696f
+2 -2
View File
@@ -5,7 +5,7 @@ $(document).off('click','.batch-btn').on('click', '.batch-btn', function()
if(!checkedList.length) return;
const form = new FormData();
checkedList.forEach((id) => form.append('tasks[]', id));
checkedList.forEach((id) => form.append('taskIdList[]', id));
postAndLoadPage($(this).data('url'), form);
$.ajaxSubmit({url: $(this).data('url'), data: form});
});