Unhandled promise rejection
在部分IOS手机发现如下问题,调试无果,请大神指点 [图片] 客户端信息 [图片] 相关代码 [代码]/**[代码][代码] [代码][代码]* 会员登录[代码][代码] [代码][代码]*/[代码][代码]async userSignin(params) {[代码][代码] [代码][代码]const that = [代码][代码]this[代码][代码];[代码][代码] [代码][代码]const json = await api.userLogin({[代码][代码] [代码][代码]query: params[代码][代码] [代码][代码]});[代码][代码] [代码][代码]if[代码][代码]( json.code == 0 ){[代码][代码] [代码][代码]if[代码][代码]( util.empty(json.HTTPHEADER[[代码][代码]'Set-Cookie'[代码][代码]]) == [代码][代码]false[代码] [代码]){[代码][代码] [代码][代码]// 登录成功保存身份验证cookie[代码][代码] [代码][代码]this[代码][代码].$parent.setApiCookie(json.HTTPHEADER[[代码][代码]'Set-Cookie'[代码][代码]]);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]// 保存会员信息[代码][代码] [代码][代码]this[代码][代码].$parent.globalData.memberInfo = json.data;[代码][代码] [代码][代码]tip.toast([代码][代码]'登录成功'[代码][代码], [代码][代码]function[代码][代码](){[代码][代码] [代码][代码]that.gotourl(that.gourl);[代码][代码] [代码][代码]}, [代码][代码]'success'[代码][代码], 1000);[代码][代码] [代码][代码]}[代码][代码]else[代码] [代码]if[代码][代码](json.code == 80002){[代码][代码] [代码][代码]// 手机号未注册[代码][代码] [代码][代码]this[代码][代码].is_register = [代码][代码]true[代码][代码];[代码][代码] [代码][代码]this[代码][代码].$apply();[代码][代码] [代码][代码]}[代码][代码]else[代码][代码]{[代码][代码] [代码][代码]this[代码][代码].showZanTopTips(json.msg);[代码][代码] [代码][代码]}[代码][代码]};[代码]