|
@@ -107,7 +107,6 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getCode() {
|
|
|
- console.log("获取验证码");
|
|
|
if (this.time > 0) {
|
|
|
return;
|
|
|
}
|
|
@@ -117,7 +116,7 @@ export default {
|
|
|
axios({
|
|
|
url: this.url + "api-auth/code/sendSms",
|
|
|
method: "post",
|
|
|
- data: { mobile: this.form.mobileNo },
|
|
|
+ data: qs.stringify({ mobile: this.form.mobileNo }),
|
|
|
headers: {
|
|
|
"Content-type": "application/x-www-form-urlencoded",
|
|
|
"Access-Control-Allow-Origin": "*",
|