|
@@ -120,8 +120,8 @@ export default {
|
|
|
phonenumber: [
|
|
phonenumber: [
|
|
|
{
|
|
{
|
|
|
required: true,
|
|
required: true,
|
|
|
- min: 10,
|
|
|
|
|
- max: 12,
|
|
|
|
|
|
|
+ min: 11,
|
|
|
|
|
+ max: 11,
|
|
|
message: '请输入11位电话号码',
|
|
message: '请输入11位电话号码',
|
|
|
trigger: ['blur', 'change'],
|
|
trigger: ['blur', 'change'],
|
|
|
},
|
|
},
|
|
@@ -222,12 +222,7 @@ export default {
|
|
|
this.$refs.popupMigrate.open()
|
|
this.$refs.popupMigrate.open()
|
|
|
// that.getPhoneCode();
|
|
// that.getPhoneCode();
|
|
|
}
|
|
}
|
|
|
- }).catch(() => {
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title: "操作失败",
|
|
|
|
|
- duration: 3000
|
|
|
|
|
- })
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
@@ -245,11 +240,7 @@ export default {
|
|
|
uni.$u.toast('验证码已发送');
|
|
uni.$u.toast('验证码已发送');
|
|
|
// 通知验证码组件内部开始倒计时
|
|
// 通知验证码组件内部开始倒计时
|
|
|
that.$refs.uCode3.start();
|
|
that.$refs.uCode3.start();
|
|
|
- }).catch(() => {
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title: "操作失败"
|
|
|
|
|
- })
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|