Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
41561225
authored
2024-03-06 15:13:44 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改顶部对应的内容
1 parent
ff9853ec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/layout/components/Navbar.vue
src/layout/components/Navbar.vue
View file @
4156122
...
...
@@ -10,7 +10,9 @@
<div
class=
"right-menu"
>
<!--
<svg-icon
class=
"function"
icon-class=
'function'
/>
-->
<div
class=
"avatar-wrapper"
>
<span
style=
"padding-right:10px"
>
{{
name
}}
</span>
<!--
<span
style=
"padding-right:10px"
>
{{
name
}}
</span>
-->
<div>
{{
userInfo
.
departmentName
}}
</div>
<div>
{{
userInfo
.
name
}}
</div>
<img
:src=
"avatar + '?imageView2/1/w/80/h/80'"
class=
"user-avatar"
/>
</div>
<svg-icon
class=
"shutdown"
@
click
.
native=
"logout"
icon-class=
'shutdown'
/>
...
...
@@ -31,7 +33,7 @@
NoticeBar
},
computed
:
{
...
mapGetters
([
'sidebar'
,
'avatar'
,
'name'
]),
...
mapGetters
([
'sidebar'
,
'avatar'
,
'name'
,
'userInfo'
]),
baseUrl
()
{
return
window
.
_config
.
baseUrl
;
},
...
...
Please
register
or
sign in
to post a comment