diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/firstLogin.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/firstLogin.vue index 05d7c4c2a..f3a5f799b 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/firstLogin.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/firstLogin.vue @@ -118,7 +118,7 @@ export default{ this.SET_STORAGE("token",result.baseinfo.token) // location.href = "http://" + window.location.host - if (success.pwd === true) { + if (result.pwd === true) { this.SET_STORAGE('pwd', true); this.TOAST("您的密码不满足强度要求,请您先修改密码后再执行系统其他操作"); } diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/wxLogin.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/wxLogin.vue index 4df76bbcd..c12659159 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/wxLogin.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/wxLogin.vue @@ -185,7 +185,6 @@ export default { if (!this.check()) { return } - // if(!await this.checkverifycode())return let up = true var postData = { @@ -251,28 +250,6 @@ export default { }, 1000); }) }, - // 验证码校验 - async checkverifycode() { - return new Promise(async (resolve)=>{ - if (!this.verifycode) { - this.TOAST('请输入验证码'); - resolve(false) - return - } - this.LOADING('正在校验...') - let codeResult = await this.HTTP_POST('learun/adms/usernologin/logincodeverify', { - username: this.username, - verifycode: this.verifycode, - codeType: this.codeType - }) - this.HIDE_LOADING() - if(!codeResult){ - resolve(false) - return - } - resolve(true) - }) - }, // 切换后台地址 changeApiRoot(newIndex) {