From e3898caa56109a29f94e4dabc7db421a5bd4b730 Mon Sep 17 00:00:00 2001
From: xuxy <1059738716@qq.com>
Date: 星期一, 15 七月 2024 00:14:27 +0800
Subject: [PATCH] update fix bug
---
pages/login/supplier-login.vue | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/pages/login/supplier-login.vue b/pages/login/supplier-login.vue
index 51b358a..c6b3b1a 100644
--- a/pages/login/supplier-login.vue
+++ b/pages/login/supplier-login.vue
@@ -135,6 +135,10 @@
icon: "none"
});
this.setTimer(); //调用定时器方法
+ }else{
+ this.getCodeText = "获取验证码" //发送验证码
+ this.getCodeisWaiting = false;
+ this.getCodeBtnColor = "#20613D";
}
// setTimeout(() => {
// uni.showToast({
@@ -198,7 +202,7 @@
}
}
if (this.loginType == 'code') {
- if (!that.tel) {
+ if (!that.phoneNumber) {
uni.showToast({
title: '请输入手机号',
icon: 'none'
@@ -242,10 +246,10 @@
// }, 1000);
} else {
- uni.showToast({
- title: '登录失败!',
- icon: 'none'
- });
+ // uni.showToast({
+ // title: '登录失败!',
+ // icon: 'none'
+ // });
return;
}
--
Gitblit v1.9.3