flat: 登陆
This commit is contained in:
@@ -107,7 +107,7 @@ export default {
|
||||
},
|
||||
created () {
|
||||
// this.getTenant();
|
||||
const {username, password } = JSON.parse(window.sessionStorage.getItem('query_session'))
|
||||
const { username, password } = JSON.parse(window.sessionStorage.getItem('query_session') || "{}")
|
||||
window.sessionStorage.removeItem('query_session')
|
||||
if(username && password) {
|
||||
this.proLoading = true
|
||||
@@ -115,6 +115,7 @@ export default {
|
||||
this.loginForm.password = password
|
||||
this.handleLogin()
|
||||
} else {
|
||||
console.log('刷新1')
|
||||
this.refreshCode();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user