fix(测试用例): 导出抽屉提交后清空选项
This commit is contained in:
parent
cf3ca1e567
commit
8444bb920a
|
@ -332,6 +332,7 @@
|
||||||
|
|
||||||
const handleDrawerConfirm = () => {
|
const handleDrawerConfirm = () => {
|
||||||
emit('confirm', selectedList.value);
|
emit('confirm', selectedList.value);
|
||||||
|
handleReset();
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleDrawerCancel = () => {
|
const handleDrawerCancel = () => {
|
||||||
|
|
|
@ -1223,7 +1223,7 @@
|
||||||
} else {
|
} else {
|
||||||
res = await exportXMindCase(params);
|
res = await exportXMindCase(params);
|
||||||
}
|
}
|
||||||
taskId.value = res.taskId;
|
taskId.value = res;
|
||||||
startWebsocketGetExportResult();
|
startWebsocketGetExportResult();
|
||||||
showExportingMessage();
|
showExportingMessage();
|
||||||
exportLoading.value = false;
|
exportLoading.value = false;
|
||||||
|
@ -1240,7 +1240,7 @@
|
||||||
async function batchExport() {
|
async function batchExport() {
|
||||||
try {
|
try {
|
||||||
const res = await checkCaseExportTask();
|
const res = await checkCaseExportTask();
|
||||||
if (!res.fileId.length) {
|
if (!res.fileId || !res.fileId.length) {
|
||||||
showExportVisible.value = true;
|
showExportVisible.value = true;
|
||||||
} else {
|
} else {
|
||||||
reportId.value = res.fileId;
|
reportId.value = res.fileId;
|
||||||
|
|
Loading…
Reference in New Issue