[JavaScript] 纯文本查看 复制代码getChangeCode: function(e) {
var o = this, i = this.data.mobile.number;
/^(13|14|15|16|17|18|19)[0-9]{9}$/.test(i) ? !1 === this.data.mobile.phone_verify_status && wx.login().then(function(e) {
var i = e.code;
t.HttpResource("/sendcode.html").saveAsync({
mobile: o.data.mobile.number,
code: i
}).then(function(e) {
200 != e.code ? wx.showToast({
title: e.data,
icon: "none"
}) : o.getRecode();
});
}) : wx.showToast({
title: "请填写正确手机号",
icon: "none"
});
},