This commit is contained in:
Teo
2025-09-09 09:08:34 +08:00
parent 4a9a0c4214
commit 0c3ea8fe73
13 changed files with 189 additions and 155 deletions

View File

@ -203,6 +203,7 @@ watch(
});
} else {
fileList.value = [];
return [];
}
},
@ -293,7 +294,7 @@ const handleChange = (file: any, filelist: any) => {
}
}
// 记录 status = 'ready' 的文件
if (file.status === 'ready') {
if (file.status === 'ready' && !props.isConstruction) {
pendingFiles.value.push(file);
fileList.value = pendingFiles.value;
}