Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2022-06-23 09:09:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a639de0b96f79d259232bc7774db061787445fd1
a639de0b
1 parent
7b22919b
退出地址修改
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
src/layout/components/Navbar.vue
src/settings.js
src/utils/request.js
src/layout/components/Navbar.vue
View file @
a639de0
...
...
@@ -135,7 +135,7 @@ export default {
type: "warning",
}).then(() => {
this.$store.dispatch("LogOut").then(() => {
this.$router.push('/
login
')
this.$router.push('/')
// window.location.href = "https://test.secure.fedex.com/logout";//wsso系统跳转
});
});
...
...
src/settings.js
View file @
a639de0
...
...
@@ -42,7 +42,7 @@ module.exports = {
/**
* logout
*/
logoutURL
:
'http
s://test-myapps.secure.fedex.com/purpleid/signout/
'
,
logoutURL
:
'http
://47.103.140.98/test
'
,
/**
* 后端接口
...
...
src/utils/request.js
View file @
a639de0
...
...
@@ -67,7 +67,7 @@ service.interceptors.response.use(res => {
}
).
then
(()
=>
{
store
.
dispatch
(
'FedLogOut'
).
then
(()
=>
{
location
.
href
=
'/index'
;
location
.
href
=
settings
.
logoutURL
;
})
})
}
else
if
(
code
===
403
)
{
...
...
Please
register
or
login
to post a comment