调整报错
parent
d6c58788d7
commit
df7b480517
|
|
@ -154,7 +154,8 @@ class CropYieldController extends Controller
|
|||
$staticCropIds[] = $crop->id;
|
||||
if ($crop->extends) {
|
||||
$i = 0;
|
||||
foreach ($crop->extends as $item) {
|
||||
$extends = json_decode($crop->extends, true);
|
||||
foreach ($extends as $item) {
|
||||
$i++;
|
||||
$_key = 'extend_'.$i;
|
||||
$staticsData[$_key] = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue