调整报错
parent
ce8ee04df9
commit
f0312e34f0
|
|
@ -37,7 +37,7 @@ class CustomRegionController extends AdminController
|
|||
}
|
||||
|
||||
private function regionList($categoryId){
|
||||
$regionList = Region::with('devices')->where('category_id', $categoryId)->get();
|
||||
$regionList = Region::with('monitorModes')->where('category_id', $categoryId)->get();
|
||||
$resList = [];
|
||||
foreach($regionList as $region){
|
||||
$tabs = Region::regionTabConfig($region);
|
||||
|
|
|
|||
Loading…
Reference in New Issue