requestTask.abort() 不生效

我把 wx.request 执行之后的对象 保存到 page的 this.requestList 数组里面,

在组件或者page 销毁的 生命周期里面, 从列表里面尝试 取消请求,没有效果 请求依旧没有取消


1 回复
我把 wx.request 执行之后的对象 保存到 page的 this.requestList 数组里面,
在组件或者page 销毁的 生命周期里面, 从列表里面尝试 取消请求,没有效果 请求依旧没有取消