perf 优化抄送信息按钮显示

This commit is contained in:
ganzizi
2023-04-21 10:00:34 +08:00
parent 9203046d97
commit d7b2f93797
2 changed files with 5 additions and 1 deletions

View File

@@ -916,7 +916,7 @@ class WorkflowController extends AbstractController
'start_time' => $process['var']['start_time'],
'end_time' => $process['var']['end_time'],
];
$text = view('push.bot', ['type' => $type, 'action' => $action, 'data' => (object)$data])->render();
$text = view('push.bot', ['type' => $type, 'action' => $action, 'is_finished' => $process['is_finished'], 'data' => (object)$data])->render();
$text = preg_replace("/^\x20+/", "", $text);
$text = preg_replace("/\n\x20+/", "\n", $text);
$msg_action = null;