Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
biyuewuhua
isc-web-vue
Commits
3f53037e
Commit
3f53037e
authored
Sep 29, 2024
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决登录问题
parent
b4beb861
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
21 deletions
+23
-21
header.vue
src/page/Home/Header/header.vue
+23
-21
No files found.
src/page/Home/Header/header.vue
View file @
3f53037e
...
...
@@ -361,27 +361,29 @@ export default {
})
return
}
this
.
poin_initManage
(
{
id
:
"logout"
},
(
response
,
responseData
,
messageObj
)
=>
{
if
(
response
&&
response
.
ok
)
{
// 删除session
sessionStorage
.
clear
();
if
(
JSON
.
parse
(
responseData
).
responseText
!=
"iam"
)
{
// 非IAM登陆
// 跳转到登陆页
this
.
$router
.
replace
(
"/login"
);
}
else
{
window
.
opener
=
""
;
window
.
open
(
""
,
"_self"
);
window
.
close
();
}
}
},
messageObj
=>
{
messageObj
.
responseType
=
"text/html"
;
}
);
// this.poin_initManage(
// { id: "logout" },
// (response, responseData, messageObj) => {
// if (response && response.ok) {
// // 删除session
// sessionStorage.clear();
// if (JSON.parse(responseData).responseText != "iam") {
// // 非IAM登陆
// // 跳转到登陆页
// this.$router.replace("/login");
// } else {
// window.opener = "";
// window.open("", "_self");
// window.close();
// }
// }
// },
// messageObj => {
// messageObj.responseType = "text/html";
// }
// );
sessionStorage
.
clear
();
this
.
$router
.
replace
(
"/login"
);
}
else
if
(
"setPassWord"
==
param
)
{
//修改密码
this
.
openPassWord
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment