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
0e7a5982
Commit
0e7a5982
authored
May 06, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化服务管理侧边导航
parent
b4c70c60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
src/components/side-nav-bar.vue
src/components/side-nav-bar.vue
+5
-6
src/pages/fwgl.vue
src/pages/fwgl.vue
+1
-1
No files found.
src/components/side-nav-bar.vue
View file @
0e7a5982
...
...
@@ -9,14 +9,16 @@
<span
v-text=
"title"
></span>
</h3>
<ul
class=
"side_nav_bar_list"
>
<li
<router-link
tag=
"li"
active-class=
"current"
v-for=
"(nav, index) in navList"
:class=
"
{ current: $route.path.indexOf(nav.path) > -1 }"
:key="'nav' + index"
@click="navAction(nav)
"
:to="nav.path
"
>
<span
v-text=
"nav.name"
></span>
</
li
>
</
router-link
>
</ul>
</div>
</
template
>
...
...
@@ -39,9 +41,6 @@ export default {
},
},
methods
:
{
navAction
(
nav
)
{
this
.
$router
.
push
(
nav
.
path
);
},
titleAction
()
{
if
(
this
.
titlePath
)
{
this
.
$router
.
push
(
this
.
titlePath
);
...
...
src/pages/fwgl.vue
View file @
0e7a5982
...
...
@@ -75,7 +75,7 @@ export default {
name
:
"
云资源管理
"
,
path
:
"
/fwgl/list/9/云资源管理
"
,
},
];
]
.
filter
((
nav
)
=>
nav
.
level
===
this
.
userLevel
)
;
this
.
$router
.
push
(
this
.
navList
[
0
].
path
);
},
...
...
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