fix(功能用例): 修复转存文件失败的问题

--bug=1036529 --user=宋天阳 【用例管理】功能用例-用例中包括mp3/sh/pages/side格式的文件,转存失败 https://www.tapd.cn/55049933/s/1472214
This commit is contained in:
song-tianyang 2024-03-09 16:30:22 +08:00 committed by 刘瑞斌
parent 763961856a
commit 455a4cdcf5
1 changed files with 1 additions and 3 deletions

View File

@ -79,8 +79,6 @@
const loading = ref<boolean>(false);
const requestParams = ref<OperationFile>({ ...props.params });
function handleCancel() {
transferVisible.value = false;
transferId.value = '';
@ -89,7 +87,7 @@
async function handleBeforeOk() {
loading.value = true;
try {
await props.requestFun({ ...requestParams.value, moduleId: transferId.value });
await props.requestFun({ ...props.params, moduleId: transferId.value });
Message.success(t('caseManagement.featureCase.transferFileSuccess'));
handleCancel();
emit('success');