feat: There is no way the, idm 登陆验证 修改小逻辑
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
mounted () {
|
||||
let url = window.location.search
|
||||
let code = "";
|
||||
if(url){
|
||||
if(url && url.indexOf("code") !== -1){
|
||||
url = url.substr(1);
|
||||
url = url.split('&');
|
||||
let info = [];
|
||||
@@ -129,6 +129,7 @@
|
||||
}
|
||||
code = url[0].code
|
||||
}
|
||||
if(code !== undefined && code !== ""){
|
||||
let _formData = new FormData()
|
||||
_formData.append('code', code === undefined ? "" : code)
|
||||
loginIdm(_formData).then(res => {
|
||||
@@ -150,6 +151,10 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
}else {
|
||||
this.$router.push('/home2')
|
||||
// window.location.href = ssoLogoutUrlDev
|
||||
}
|
||||
|
||||
if (this.$store.state.laws_urm !== '') {
|
||||
this.isRemember = true
|
||||
|
||||
Reference in New Issue
Block a user