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
dad115a6
Commit
dad115a6
authored
Jun 12, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改连接
parent
e9f5f54a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
14 deletions
+3
-14
src/components/menu.vue
src/components/menu.vue
+3
-14
No files found.
src/components/menu.vue
View file @
dad115a6
...
...
@@ -171,19 +171,8 @@ export default {
methods
:
{
gotopage
(
n
)
{
if
(
n
==
"
logout
"
)
{
let
query
=
{
returnUrl
:
"
/apaas/ui/#
"
+
this
.
$route
.
path
};
this
.
$api
.
general
.
logout
(
query
).
then
(
response
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
$message
({
message
:
`登出成功`
,
type
:
"
success
"
});
}
else
{
console
.
log
(
response
.
data
.
errMsg
);
}
});
window
.
location
.
href
=
"
/iam/api/logout?ReturnUrl=/apaas/ui/#
"
+
this
.
$route
.
path
;
}
else
{
this
.
$router
.
push
(
n
);
}
...
...
@@ -235,7 +224,7 @@ export default {
},
getMenuIndex
()
{
let
index
=
window
.
sessionStorage
.
getItem
(
"
menuIndex
"
);
console
.
log
(
index
)
console
.
log
(
index
)
;
this
.
now_menu
=
index
?
index
:
2
;
}
}
...
...
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