登录修复

dev_202412
yujialong 4 months ago
parent 54ef52797e
commit 34ba538cdb
  1. 8
      src/pages/account/login/index.vue

@ -659,7 +659,11 @@ export default {
if (list && list.length) {
list.map(e => {
const { userName } = e
if (userName) {
if (userName.length > 1) e.userName = userName[0] + '*' + userName.substring(2)
} else {
e.userName = ''
}
})
this.infos = list
this.accountIds = list.map(e => e.id)
@ -746,9 +750,9 @@ export default {
account,
schoolId,
accountId: this.curUser.id || '',
}).then(({ token }) => {
}).then(({ token, type }) => {
this.token = token
this.setLogin()
type === 1 ? this.setLogin() : this.toMang()
}).catch(res => { })
} else {
this.unbind()

Loading…
Cancel
Save