Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
d9fb679e
Commit
d9fb679e
authored
May 18, 2022
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退出登录
parent
6b5f6954
Pipeline
#76540
passed with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
src/components/menu.vue
src/components/menu.vue
+1
-9
No files found.
src/components/menu.vue
View file @
d9fb679e
...
...
@@ -245,15 +245,7 @@ export default {
gotopage
(
n
)
{
if
(
n
==
"
logout
"
)
{
console
.
log
(
state
);
if
(
state
==
"
needLogin
"
)
{
window
.
location
.
href
=
gisServiceUrl
+
"
/
"
+
gisPortalSiteName
+
`/sharing/rest/oauth2/signout?client_id=arcgisonline&redirect_uri=
${
window
.
location
.
protocol
}
//
${
window
.
location
.
host
}
/iam/api/logout`
;
}
else
{
window
.
location
.
href
=
"
/iam/api/logout
"
;
}
window
.
location
.
href
=
"
/iam/api/logout
"
;
}
else
if
(
n
==
"
login
"
)
{
let
path
=
this
.
$route
.
path
;
window
.
location
.
href
=
"
/iam/login/#/login?ReturnUrl=
"
+
encodeURIComponent
(
window
.
location
.
href
);
...
...
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