Onclick function in loop using last iteration of loop instead of current iteration

前端 未结 0 1404
轻奢々
轻奢々 2020-12-07 01:46

Its supposed to loop through the array components and put a different argument each time depending on current loop iteration but it keeps using the last iteration of the loo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题