for循环出5个数组,如何分别调用函数setIntervalForTime()且显示出来

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次?

阅读 1.4k
1 个回答

并不能看懂
setIntervalForTime是什么东西
直接调用不就是5次了,你都循环了

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题