Skip to content

Commit

Permalink
fix(PC): 全局打赏没有人打赏不显示箭头
Browse files Browse the repository at this point in the history
issue zhiyicx/plus-component-pc#1125
  • Loading branch information
mutoe committed Nov 26, 2018
1 parent 37dc78e commit b3c9980
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</p>

{{-- 打賞 --}}
@if (!empty($rewards_data))
@if (!empty($rewards_data) && count($rewards_data))
<div class="reward_user">
@foreach ($rewards_data as $key => $reward)
@if ($key < 10)
Expand Down

0 comments on commit b3c9980

Please sign in to comment.