Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-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
2414a7eb
authored
2023-02-17 16:52:19 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
用户名显示
1 parent
d2ed8625
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
src/layout/components/Navbar.vue
src/views/login/index.vue
src/layout/components/Navbar.vue
View file @
2414a7e
...
...
@@ -5,7 +5,7 @@
{{
logoName
[
0
].
DNAME
}}
</div>
<div
class=
"user"
>
欢迎进入系统
{{
user
Info
.
n
ame
}}
欢迎进入系统
{{
user
N
ame
}}
<span
@
click=
"onCancel"
>
<svg-icon
icon-class=
"close"
class=
"closeStyle"
/>
退出系统
</span>
</div>
...
...
@@ -29,11 +29,14 @@ export default {
sidebarRight
,
},
computed
:
{
...
mapGetters
([
"sidebar"
,
"dicData"
,
"userInfo"
]),
logoName
:
function
()
{
...
mapGetters
([
"sidebar"
,
"dicData"
]),
logoName
()
{
return
this
.
dicData
[
'sysCode'
]
&&
this
.
dicData
[
'sysCode'
].
filter
(
item
=>
item
.
DCODE
==
"systemTitle"
)
},
userName
(){
return
this
.
$store
.
state
.
userInfo
?
this
.
$store
.
state
.
userInfo
.
name
:
""
}
},
methods
:
{
...
...
src/views/login/index.vue
View file @
2414a7e
...
...
@@ -128,11 +128,6 @@ export default {
});
},
},
computed
:
{
productName
()
{
return
this
.
$store
.
state
.
products
.
products
.
name
;
},
},
components
:
{},
};
</
script
>
...
...
Please
register
or
sign in
to post a comment