封装axios请求发后端,直接闪退
sendVerifyCode({
mobile: this.mobile
}).then((res) => {
this.time = 60;
this.showCountDown();
}).catch(res => {
this.isSendVerifyCode = false;
})
export const sendVerifyCode = data => {
return service({
url: Api.sendVerifyCode,
method: 'POST',
params:data
})
}
尝试使用微信开发者工具同机型和基础库,无法复现

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。