Multiple upload components in element-ui cannot get the corresponding values, and index keeps reporting errors

topic description

clipboard.png

clipboard.png

clipboard.png

Sep.16,2021

1. on-success callback cannot get the index value, so you can't get the
2 of index when you call handleAvatarSuccess . The order of your handleAvatarSuccess calls and parameter declarations is inconsistent
3. To get the index. You can traverse fileList to find a place where the file name matches the file name of file

Menu