From b265ef40fc0bb56f9f11d0e47abf60b0df26e8cd Mon Sep 17 00:00:00 2001 From: "HESU\\HESU" <1696136552@qq.com> Date: Fri, 25 Apr 2025 17:22:48 +0800 Subject: [PATCH] 1 --- app/controller/LocationController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controller/LocationController.php b/app/controller/LocationController.php index e9e9381..88dc1ae 100644 --- a/app/controller/LocationController.php +++ b/app/controller/LocationController.php @@ -13,8 +13,7 @@ class LocationController */ public function index(Request $request) { - $locations = Location::hasVehicles() - ->with('vehicles') + $locations = Location::with('vehicles') ->with('fboVehicles') ->get() ->map(function ($location) {