Skip to content

Commit 8b51625

Browse files
committed
fix(PC): 修复后台关闭签到时前端页面报错的问题
issue zhiyicx/plus-component-pc#1118
1 parent 387504b commit 8b51625

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/zhiyicx-plus-pc/resources/views/widgets/checkin.blade.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@php
22
use function Zhiyi\Component\ZhiyiPlus\PlusComponentPc\getAvatar;
33
@endphp
4-
@if (isset($config['bootstrappers']['checkin']) && !empty($data) )
4+
5+
@if (($config['bootstrappers']['checkin'] ?? false) && !empty($data) )
56
<div class="checkin_cont">
67
<div class="checkin_user">
78
<span>
@@ -25,4 +26,4 @@
2526
</div>
2627
@endif
2728
</div>
28-
@endif
29+
@endif

0 commit comments

Comments
 (0)