list.forEach(function(item,index){異步
var sendData = function(index, message) { setTimeout(function() { sync(); //異步方法 }, 200*index); } sendData(index, message) })it