How to clear interval outside its closure function or promise?

前端 未结 0 1875
被撕碎了的回忆
被撕碎了的回忆 2021-01-22 05:32

How should use clearInterval() when I get the response I want inside the second call.

axios.post(url1,data1).then(res=>{
    let INTERVAL_ID = set         


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