Skip to main content

JS遍历数组forEach

resData.

res.data.forEach((item, index, array) => {

//执行代码

});