Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
allCampaign
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
allCampaign
Commits
26294e0f
Commit
26294e0f
authored
Jan 28, 2021
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
头像没有取默认值
parent
47cbd293
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
brokerQry/src/app/broker-detail/broker-detail.component.html
+1
-1
brokerQry/src/app/broker-detail/broker-detail.component.ts
+8
-0
No files found.
brokerQry/src/app/broker-detail/broker-detail.component.html
View file @
26294e0f
...
...
@@ -6,7 +6,7 @@
<div>
执业证书
</div>
</div>
<div
class=
"right cerPhoto"
>
<img
src=
"{{
userPractitionerInfo?.headFilePath
}}"
alt=
""
class=
"img-responsive "
>
<img
src=
"{{
getDefaultHeadImg(userPractitionerInfo?.headFilePath)
}}"
alt=
""
class=
"img-responsive "
>
</div>
</div>
<div
class=
"wrapper"
>
...
...
brokerQry/src/app/broker-detail/broker-detail.component.ts
View file @
26294e0f
...
...
@@ -89,4 +89,12 @@ export class BrokerDetailComponent implements OnInit {
}
return
deviceType
;
}
getDefaultHeadImg
(
str
){
if
(
!
str
){
return
'https://mdev.zuihuibi.cn/ydLife/assets/images/icons/meng.png'
;
}
else
{
return
str
;
}
}
}
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