Skip to content

Commit 2620d3f

Browse files
committed
fix: fail
1 parent 213158f commit 2620d3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/packages/uploader/uploader.taro.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ const InternalUploader: ForwardRefRenderFunction<
353353
responseText: XMLHttpRequest['responseText'],
354354
option: UploadOptions
355355
) => {
356-
const list = fileList.map((item) => {
356+
const list = curList.map((item) => {
357357
if (item.uid === fileItem.uid) {
358358
item.status = ERROR
359359
item.message = locale.uploader.error

src/packages/uploader/uploader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ const InternalUploader: ForwardRefRenderFunction<
252252
responseText: XMLHttpRequest['responseText'],
253253
option: UploadOptions
254254
) => {
255-
const list = fileList.map((item) => {
255+
const list = curList.map((item) => {
256256
if (item.uid === fileItem.uid) {
257257
item.status = ERROR
258258
item.message = locale.uploader.error

0 commit comments

Comments
 (0)