添加canvasbox容器大小返回
parent
334e569328
commit
098b787a30
|
|
@ -26,6 +26,7 @@ class RegionResource extends JsonResource
|
||||||
'current_plant' => RegionPlantResource::make($this->whenLoaded('currentPlant')),
|
'current_plant' => RegionPlantResource::make($this->whenLoaded('currentPlant')),
|
||||||
'position_x'=> $this->position_x,
|
'position_x'=> $this->position_x,
|
||||||
'position_y'=> $this->position_y,
|
'position_y'=> $this->position_y,
|
||||||
|
'canvasbox'=> '1350,900',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue