Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BCDH-APP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
首开风险隐患双控平台
BCDH-APP
Commits
fafc187d
Commit
fafc187d
authored
Dec 31, 2021
by
王明朋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
APP头像没有(为null)的话就显示静态图作为头像
parent
46d7e5c8
Pipeline
#7709
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/views/my/index.vue
src/views/my/index.vue
+3
-1
No files found.
src/views/my/index.vue
View file @
fafc187d
...
...
@@ -52,6 +52,8 @@
</div>
</van-cell-group>
{{
userInfo
.
portrait
}}
<!-- 退出系统 -->
<footer
class=
"sign-out"
>
<van-button
type=
"info"
block
@
click=
"logout"
...
...
@@ -90,7 +92,7 @@ export default {
],
userInfo
:
{
//portrait: require("@/assets/myTerritory/touxiang.png"),
portrait
:
getUserInfo
()?
getUserInfo
().
avatar
:
"
xxx
"
,
portrait
:
getUserInfo
()?
getUserInfo
().
avatar
:
require
(
"
@/assets/myTerritory/touxiang.png
"
)
,
name
:
getUserInfo
()
?
getUserInfo
().
userName
:
"
xxx
"
,
position
:
getUserInfo
()
?
getUserInfo
().
deptName
:
"
xx部
"
,
// name: "刘华强",
...
...
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