|
|
@@ -62,7 +62,13 @@ class LeaveAddPage extends Component{
|
|
|
<div ref={node => this.node = node} style={{fontFamily:"PingFangSC-Regular",letterSpacing:2.5}} className="common-column-layout">
|
|
|
<div id="padding10">
|
|
|
<img class="img-circle" id="margin_top_bottom_15"
|
|
|
- src={"http://img5.imgtn.bdimg.com/it/u=1494163297,265276102&fm=26&gp=0.jpg"} width={60}
|
|
|
+ src={ (
|
|
|
+ this.props.userInfo.parent.student.avatar == '' ||
|
|
|
+ this.props.userInfo.parent.student.avatar == null ||
|
|
|
+ this.props.userInfo.parent.student.avatar == undefined ||
|
|
|
+ this.props.userInfo.parent.student.avatar.length == 0
|
|
|
+ ) ? "http://img5.imgtn.bdimg.com/it/u=1494163297,265276102&fm=26&gp=0.jpg"
|
|
|
+ : this.props.userInfo.parent.student.avatar} width={60}
|
|
|
height={60}/>
|
|
|
<span class="span_17 text_bold " id="row_margin">{this.props.userInfo.user.student.stuName}的请假条</span>
|
|
|
</div>
|