for(let i=0;i<this.collectionList.length;i++){
this.$post("", { token: this.token, Id: this.collectionList[i].Id }).then(res => {
this.OpenTime = res.info
this.setIntervalForTime()
});
}
this.OpenTime = res.info
上面这一段代码该怎么写?
this.setIntervalForTime()
要怎么调用5次?
并不能看懂
setIntervalForTime是什么东西
直接调用不就是5次了,你都循环了