fix(测试用例): 导出抽屉提交后清空选项

This commit is contained in:
teukkk 2024-08-09 10:57:02 +08:00 committed by Craftsman
parent cf3ca1e567
commit 8444bb920a
2 changed files with 3 additions and 2 deletions

View File

@ -332,6 +332,7 @@
const handleDrawerConfirm = () => {
emit('confirm', selectedList.value);
handleReset();
};
const handleDrawerCancel = () => {

View File

@ -1223,7 +1223,7 @@
} else {
res = await exportXMindCase(params);
}
taskId.value = res.taskId;
taskId.value = res;
startWebsocketGetExportResult();
showExportingMessage();
exportLoading.value = false;
@ -1240,7 +1240,7 @@
async function batchExport() {
try {
const res = await checkCaseExportTask();
if (!res.fileId.length) {
if (!res.fileId || !res.fileId.length) {
showExportVisible.value = true;
} else {
reportId.value = res.fileId;