This commit is contained in:
chenbo 2024-02-26 15:01:00 +08:00
parent 4eba3d5d55
commit 61934129ad

View File

@ -151,7 +151,7 @@ class CostProjectLogic extends BaseLogic
*/
public static function detail($params): array
{
return CostProject::findOrEmpty($params['id'])->toArray();
return CostProject::with(['contract'])->findOrEmpty($params['id'])->toArray();
}
public static function datas($name)