Skip to content

Commit

Permalink
fix(PC): 修复评论被删除时提醒消息报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Nov 28, 2018
1 parent 0e6eec6 commit 60cfacd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
@endif
@break
@case('comments')
@if($item['comments']['body'] ?? false)
<span>{{ $item['comments']['body'] }}</span>
@else
<div class="content">内容不存在或已被删除</div>
@endif

@switch($item['repostable_type'])
@case('news')
Expand Down

0 comments on commit 60cfacd

Please sign in to comment.