This commit is contained in:
weiz 2024-01-13 17:31:01 +08:00
parent 547267d941
commit 86f36bd781

View File

@ -34,7 +34,7 @@ class Project extends BaseModel
public function getStatusTextAttr($value,$data)
{
$dictData = DictData::where('type_value','project_status')->column('name','value');
return empty($data['project_status']) ? '' : $dictData[$data['status']];
return empty($data['status']) ? '' : $dictData[$data['status']];
}
public function getProjectContentTextAttr($value,$data)