react lodash节流this找不到正确用法

if (!this.throttleLoadDicom) {
this.throttleLoadDicom = throttle(this.loadDicomFun, 800, { leading: true }); //节流开始前

}

loadDicomFun(){
  //自己逻辑
}
posted @ 2022-04-01 18:13  红苹果学园  阅读(79)  评论(0)    收藏  举报