perf(studio): 添加原始模型的文件名

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

View File

@@ -45,6 +45,7 @@ final class LatticeDetail extends JsonResource
{
$action = $this->action ?? null;
return [
'modelName' => $this->modelName ?? $this?->source?->name,
'field' => Field::make($this->field),
'source' => File::make($this?->source),
'action' => is_null($action) ? null : $action,