fix: [Component:CRUD] Typo in merge conflict
parent
bd14d52571
commit
bf3e31c59a
|
@ -461,7 +461,7 @@ class CRUDComponent extends Component
|
|||
if (!empty($params['conditions'])) {
|
||||
$query->where($params['conditions']);
|
||||
}
|
||||
$data = $data->first();
|
||||
$data = $query->first();
|
||||
if (isset($params['afterFind'])) {
|
||||
$data = $params['afterFind']($data, $params);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue