低代码搭建的审批类型,会出现审批名称和审批详情里面的不符,出现这个情况修改的方法如下

修改方法

$info['crud_id'] && $info['approve'] = $crudApproveService->setTrashed()->get($info['approve_id'], ['id', 'name', 'icon', 'color', 'info'])?->toArray();
if ($info['is_recall'] || ! $info['crud_id']) {
$info['content'] = app()->get(ApproveContentService::class)->getContent($id);
} else {
$info['content'] = $crudApproveService->getContent($info['crud_id'], $info['link_id'], $id);
}
文件路径:app/Http/Service/Approve/ApproveApplyService.php

