|
@@ -343,6 +343,7 @@ |
|
|
}, |
|
|
}, |
|
|
// 获取是否需要验证码 |
|
|
// 获取是否需要验证码 |
|
|
getNeedCode(){ |
|
|
getNeedCode(){ |
|
|
|
|
|
if(!this.username)return |
|
|
this.POST('learun/adms/user/loginverify',{account:this.username}).then(res=>{ |
|
|
this.POST('learun/adms/user/loginverify',{account:this.username}).then(res=>{ |
|
|
if (res[1].data.code != '200') { |
|
|
if (res[1].data.code != '200') { |
|
|
this.TOAST(res[1].data.info); |
|
|
this.TOAST(res[1].data.info); |
|
|