request 成功会掉success 中是否可以调用其它函数

发布于 8 年前作者 xiuyingfeng11984 次浏览最后编辑 8 年前来自 ask

request 成功会掉success 中是否可以调用其它函数

2 回复
pengyang
pengyang1 楼6 年前

1、let that = this

2、

success: (res)=>{

this.empty()

}

uyan
uyan2 楼6 年前

1.let  _this = this

2.success:res=>{

    _this.empty()

}