From b3c9980ed2e3383a10ca1680ab10f487954bb77b Mon Sep 17 00:00:00 2001
From: mutoe
Date: Mon, 26 Nov 2018 14:28:31 +0800
Subject: [PATCH] =?UTF-8?q?fix(PC):=20=E5=85=A8=E5=B1=80=E6=89=93=E8=B5=8F?=
=?UTF-8?q?=E6=B2=A1=E6=9C=89=E4=BA=BA=E6=89=93=E8=B5=8F=E4=B8=8D=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E7=AE=AD=E5=A4=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
issue zhiyicx/plus-component-pc#1125
---
.../zhiyicx-plus-pc/resources/views/widgets/rewards.blade.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/zhiyicx-plus-pc/resources/views/widgets/rewards.blade.php b/packages/zhiyicx-plus-pc/resources/views/widgets/rewards.blade.php
index a45c6abcb..2ec891efe 100644
--- a/packages/zhiyicx-plus-pc/resources/views/widgets/rewards.blade.php
+++ b/packages/zhiyicx-plus-pc/resources/views/widgets/rewards.blade.php
@@ -10,7 +10,7 @@
{{-- 打賞 --}}
- @if (!empty($rewards_data))
+ @if (!empty($rewards_data) && count($rewards_data))
@foreach ($rewards_data as $key => $reward)
@if ($key < 10)