diff --git a/resources/views/admin/work-orders/index.blade.php b/resources/views/admin/work-orders/index.blade.php index 2ad5c35..26a145c 100644 --- a/resources/views/admin/work-orders/index.blade.php +++ b/resources/views/admin/work-orders/index.blade.php @@ -58,14 +58,14 @@ class="module_name" href="{{ route('admin.hosts.edit', $workOrder->host_id) }}" class="host_name" > - {{ $workOrder?->host->name }} + {{ $workOrder->host?->name }} @else 无 @endif - {{ $workOrder?->user->name }} + {{ $workOrder->user?->name }} {{ $workOrder->created_at }}, {{ $workOrder->created_at->diffForHumans() }}