perf(studio): 尝试使用第一张六视图来组成六视图

Signed-off-by: 李东云 <dongyun.li@luxcreo.ai>
This commit is contained in:
李东云
2022-07-08 22:01:00 +08:00
parent 490d9d71fc
commit 2ec9874112

View File

@@ -77,8 +77,8 @@ final class Lattice extends JsonResource
'wide' => $this->wide,
'surfaceNum' => $this->surfaceNum,
'viewShots' => $this->when(
isset($this->showPicIds),
isset($this->showPicIds) ? FileCollection::make($this->showPicIds) : null
isset($this->viewShotFirst),
isset($this->viewShotFirst) ? FileCollection::make([$this->viewShotFirst]) : null
),
'technology' => $this->when(isset($this->technology), $this->technology),
'material' => $this->when(isset($this->material), $this->material),