Merge pull request 'update' (#169) from zhangwei into dev

Reviewed-on: #169
This commit is contained in:
weiz 2024-01-13 17:31:29 +08:00
commit 6848217f4d

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)