|
@@ -139,9 +139,9 @@ export default {
|
|
|
async handleSendVerifyCode(type) {
|
|
|
let res
|
|
|
if (type === 'tel') {
|
|
|
- if (!telVerify(this.tel, this.telAreaList[this.telAreaIndex].value)) {
|
|
|
+ if (!this.tel) {
|
|
|
uni.showToast({
|
|
|
- title: "请输入正确手机号",
|
|
|
+ title: "请输入手机号",
|
|
|
icon: "none"
|
|
|
})
|
|
|
return
|
|
@@ -152,9 +152,9 @@ export default {
|
|
|
})
|
|
|
|
|
|
} else {
|
|
|
- if (!emailVerify(this.email)) {
|
|
|
+ if (!this.email) {
|
|
|
uni.showToast({
|
|
|
- title: "请输入正确邮箱地址",
|
|
|
+ title: "请输入邮箱地址",
|
|
|
icon: "none"
|
|
|
})
|
|
|
return
|