Browse Source

【修改】移动端:短信页面;

西昌分支
dyy 4 months ago
parent
commit
9841913ab5
2 changed files with 1 additions and 24 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/firstLogin.vue
  2. +0
    -23
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/wxLogin.vue

+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/firstLogin.vue View File

@@ -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("您的密码不满足强度要求,请您先修改密码后再执行系统其他操作");
}


+ 0
- 23
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/wxLogin.vue View File

@@ -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) {


Loading…
Cancel
Save