first commit

This commit is contained in:
lingxiao865
2026-02-10 08:05:03 +08:00
commit c5af079d8c
1094 changed files with 97530 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
export function getWrapperAriaRole(file) {
return file.status && file.status != 'done' ? 'text' : 'button';
}
export function getWrapperAriaLabel(file) {
if (file.status && file.status != 'done') {
if (file.status == 'loading') {
return file.percent ? `上传中:${file.percent}%` : '上传中';
}
return file.status == 'reload' ? '重新上传' : '上传失败';
}
return file.type === 'video' ? '视频' : '图像';
}