fix(测试用例): 先开启websocket再调导出接口

This commit is contained in:
teukkk 2024-08-20 14:11:58 +08:00 committed by Craftsman
parent cfa68de27f
commit 6056cb76d5
1 changed files with 1 additions and 1 deletions

View File

@ -1217,6 +1217,7 @@
exportLoading.value = true;
const { selectedIds, selectAll, excludeIds } = batchParams.value;
reportId.value = getGenerateId();
startWebsocketGetExportResult();
const params = {
projectId: currentProjectId.value,
selectIds: selectAll ? [] : selectedIds,
@ -1243,7 +1244,6 @@
res = await exportXMindCase(params);
}
taskId.value = res;
startWebsocketGetExportResult();
showExportingMessage();
exportLoading.value = false;
showExportVisible.value = false;