|
@@ -74,9 +74,10 @@ export default {
|
|
|
sessionStorage.setItem('userName', res.userInfo.userName)
|
|
|
sessionStorage.setItem('acct', res.userInfo.acct)
|
|
|
this.$router.push('/frame')
|
|
|
+ } else {
|
|
|
+ this.codeLoad()
|
|
|
}
|
|
|
} else {
|
|
|
- this.codeLoad()
|
|
|
if (this.loginForm.username === '' || this.loginForm.username == null) {
|
|
|
this.$notify.error({
|
|
|
title: '错误',
|