作业发布者真名为空时,显示昵称
This commit is contained in:
parent
70afbb3323
commit
38c182d76a
|
@ -6,7 +6,9 @@
|
|||
<div class="post-title mb5"><span class="c-grey3 f15 fb">{{homework.name}}</span></div>
|
||||
<table class="post-detail-info"><tr>
|
||||
<td class="text-nowrap v-top">发布者:</td>
|
||||
<td>{{homework.author.realname}}</td>
|
||||
<td>
|
||||
<span ng-if="homework.author.realname != ' '">{{homework.author.realname}}</span>
|
||||
<span ng-if="homework.author.realname == ' '">{{homework.author.nickname}}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap v-top">来 源:</td>
|
||||
|
|
Loading…
Reference in New Issue