This commit is contained in:
2026-03-30 15:12:00 +08:00
parent 82d7e90ec6
commit efc0390451

View File

@@ -503,6 +503,9 @@ export const fileUploadAllocationIconFun = (
fileUploadAllocationIconFun?: any,
folderOpen?: any
) => {
if (!fileName) {
return;
}
const arr = fileName?.split('.');
const fileType = arr.length > 1 ? arr.pop()?.toLowerCase() : '';
if (fileType === '') {