Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pc
Project
Project
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
wbx-PCAndMobi
pc
Commits
04e9b95f
Commit
04e9b95f
authored
Apr 29, 2021
by
zhangrui123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志
parent
adbf265e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
sidemenu.vue
src/components/Layout/sidemenu.vue
+4
-3
documentsRoutes.json
src/router/documentsRoutes.json
+1
-1
No files found.
src/components/Layout/sidemenu.vue
View file @
04e9b95f
...
...
@@ -21,12 +21,13 @@
<a-icon
:type=
"child.meta.menuIcon?child.meta.menuIcon:'bars'"
/>
{{
child
.
meta
.
title
}}
</a-menu-item>
-->
<template
v-if=
"child.meta.title == '系统信息配置' ||child.meta.title == '拓展信息管理'|| child.meta.title == '日志管理'"
>
<template
v-if=
"child.meta.title == '系统信息配置' ||child.meta.title == '拓展信息管理'
|| child.meta.title == '日志管理'"
>
<a-menu-item
v-if=
"$store.state.hasAllRight"
:key=
"child.key"
@
click=
"onclick(child.name)"
>
<a-icon
:type=
"child.meta.menuIcon?child.meta.menuIcon:'bars'"
/>
{{
child
.
meta
.
title
}}
</a-menu-item>
</
template
>
<a-menu-item
v-else
:key=
"child.key"
@
click=
"onclick(child.name)"
>
<a-icon
:type=
"child.meta.menuIcon?child.meta.menuIcon:'bars'"
/>
{{child.meta.title}}
...
...
@@ -34,12 +35,12 @@
</template>
</a-sub-menu>
</template>
<
template
v-else
>
<
!-- <
template v-else>
<a-menu-item :key="menu.name" @click="onclick(menu.name)">
<a-icon :type="menu.meta.menuIcon?menu.meta.menuIcon:'bars'" />
{{menu.meta.title}}
</a-menu-item>
</
template
>
</template>
-->
</template>
</template>
</a-menu>
...
...
src/router/documentsRoutes.json
View file @
04e9b95f
...
...
@@ -112,7 +112,7 @@
},
{
"path"
:
"/documents/ledger"
,
"name"
:
"ledger"
,
"meta"
:
{
"title"
:
"区房屋台账"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"meta"
:
{
"title"
:
"区房屋台账"
,
"authCode"
:
"0008"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/documents/ledger/community"
,
"name"
:
"communityList"
,
...
...
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