Silent 6 years ago
parent
commit
28320bc34a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/admin/students/index.blade.php

+ 1 - 1
resources/views/admin/students/index.blade.php

xqd
@@ -62,7 +62,7 @@
                                             <td>{{ $item->apply_date }}</td>
                                             <td>{{ $item->end_date }}</td>
                                             <td>{{ $item->teacher_names }}</td>
-                                            <td>{!! $item->remark !!}</td>
+                                            <td>{!! str_replace(PHP_EOL, '<br>', $item->remark) !!}</td>
                                             <td>
                                                 <div class="btn-group">
                                                     <a class="btn btn-sm btn-success btn-courses" href="{{ $pre_uri . 'Course/index?student_id=' . $item->id }}">课程</a>