微信小程序wx.request重复请求问题

问题 :本机调试环境正常,发布上去重复请求

解决:

//submit
const that = this;
(async () => 
{
     await that.requsetData();
 })()

//请求
requsetData(){
   wx.request({...})
}

 

转载请注明出处:http://www.tochigihk.com/article/20230526/737711.html