|
@@ -5277,7 +5277,17 @@ export default {
|
|
|
},
|
|
},
|
|
|
(res) => {
|
|
(res) => {
|
|
|
this.verificationPassedPhoneNum = sendPhone;
|
|
this.verificationPassedPhoneNum = sendPhone;
|
|
|
- this.$toast(res.data ? '验证成功' : '验证码错误');
|
|
|
|
|
|
|
+ if (res.data) {
|
|
|
|
|
+ this.$toast('验证成功');
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$dialog
|
|
|
|
|
+ .confirm({
|
|
|
|
|
+ title: '提示',
|
|
|
|
|
+ message: '验证码错误',
|
|
|
|
|
+ showCancelButton: false,
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(() => {});
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
},
|
|
},
|