1
0
Fork 0

调整报错

develop
vine_liutk 2023-05-10 21:40:15 +08:00
parent ce8ee04df9
commit f0312e34f0
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class CustomRegionController extends AdminController
} }
private function regionList($categoryId){ private function regionList($categoryId){
$regionList = Region::with('devices')->where('category_id', $categoryId)->get(); $regionList = Region::with('monitorModes')->where('category_id', $categoryId)->get();
$resList = []; $resList = [];
foreach($regionList as $region){ foreach($regionList as $region){
$tabs = Region::regionTabConfig($region); $tabs = Region::regionTabConfig($region);