Skip to content

Commit 16314ab

Browse files
committed
feat: VisitStatistic added
1 parent 3b4577b commit 16314ab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

module/Cms/View/admin/content/field/formData.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
@if(in_array($customField['fieldType'],[
88
'text','textarea','video','audio'
99
]))
10-
{{$data[$customField['name']] or '-'}}
10+
{{empty($data[$customField['name']])?'-':$data[$customField['name']]}}
1111
@else
12-
{{$data[$customField['name']] or '-'}}
12+
{{$data[$customField['name']]?'-':$data[$customField['name']]}}
1313
@endif
1414
</td>
1515
</tr>

module/Vendor/View/widget/richContent/htmlUeditor.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/plain" id="{{$name}}" name="{{$name}}">{!! $value or '' !!}</script>
1+
<script type="text/plain" id="{{$name}}" name="{{$name}}">{!! empty($value)?'':$value !!}</script>
22
<script src="@asset('asset/common/editor.js')"></script>
33
<script>
44
$(function () {

module/VisitStatistic/Core/ModuleServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function boot(Dispatcher $events)
6565
$line = Line::make()->xData($data['time'])->ySeries(0, $data['pv'], '访问量')->ySeries(1, $data['uv'], '访客数');
6666
$page->row(Box::make($line, '<i class="fa fa-bar-chart"></i> 访问统计'));
6767
});
68-
68+
6969
}
7070

7171
AdminMenu::register(function () {

0 commit comments

Comments
 (0)