diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue index 643889e44..8b148f576 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue @@ -343,6 +343,7 @@ }, // 获取是否需要验证码 getNeedCode(){ + if(!this.username)return this.POST('learun/adms/user/loginverify',{account:this.username}).then(res=>{ if (res[1].data.code != '200') { this.TOAST(res[1].data.info);