Skip to content

Commit cb12d8c

Browse files
committed
alter log-viewer包模板优化
1 parent 9d26f05 commit cb12d8c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

resources/views/vendor/log-viewer/_template/master.blade.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,11 @@
1212
@stop
1313

1414
@section('js')
15+
<script src="{{ asset('plugins') }}/chartjs/Chart.min.js"></script>
16+
<script>
17+
Chart.defaults.global.responsive = true;
18+
Chart.defaults.global.scaleFontFamily = "'Source Sans Pro'";
19+
Chart.defaults.global.animationEasing = "easeOutQuart";
20+
</script>
1521
@yield('scripts')
1622
@stop

0 commit comments

Comments
 (0)