@for (item of fileList; track $index) {
@switch (type) { @case ('image') { } @case ('video') { } @default { } }
} @if (fileList.length < maxlenght) {
}
@if (currentPreviewImg) {
}