perf(UploadPreviewModal): delete invalid assign (#3915)

This commit is contained in:
Electrolux 2024-06-13 18:24:11 +08:00 committed by GitHub
parent 8d3981f599
commit 65fba1c329
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,7 +97,6 @@
return createMessage.warning(t('component.upload.maxNumber', [maxNumber]));
}
record[uidKey] = record[uidKey] ?? buildUUID();
record[valueKey] = record[valueKey];
fileListRef.value = [...fileListRef.value, record];
emit('list-change', fileListRef.value, valueKey);
}