fix(测试用例): 先开启websocket再调导出接口
This commit is contained in:
parent
cfa68de27f
commit
6056cb76d5
|
@ -1217,6 +1217,7 @@
|
||||||
exportLoading.value = true;
|
exportLoading.value = true;
|
||||||
const { selectedIds, selectAll, excludeIds } = batchParams.value;
|
const { selectedIds, selectAll, excludeIds } = batchParams.value;
|
||||||
reportId.value = getGenerateId();
|
reportId.value = getGenerateId();
|
||||||
|
startWebsocketGetExportResult();
|
||||||
const params = {
|
const params = {
|
||||||
projectId: currentProjectId.value,
|
projectId: currentProjectId.value,
|
||||||
selectIds: selectAll ? [] : selectedIds,
|
selectIds: selectAll ? [] : selectedIds,
|
||||||
|
@ -1243,7 +1244,6 @@
|
||||||
res = await exportXMindCase(params);
|
res = await exportXMindCase(params);
|
||||||
}
|
}
|
||||||
taskId.value = res;
|
taskId.value = res;
|
||||||
startWebsocketGetExportResult();
|
|
||||||
showExportingMessage();
|
showExportingMessage();
|
||||||
exportLoading.value = false;
|
exportLoading.value = false;
|
||||||
showExportVisible.value = false;
|
showExportVisible.value = false;
|
||||||
|
|
Loading…
Reference in New Issue