perf: 搜索对话可以搜索远程的对话

This commit is contained in:
kuaifan
2022-07-05 12:06:58 +08:00
parent 1fb70a4456
commit e861e8d878
7 changed files with 89 additions and 21 deletions

View File

@@ -649,6 +649,9 @@ class ProjectTask extends AbstractModel
'change' => [$this->name, $data['name']]
]);
$this->name = $data['name'];
if ($this->dialog_id) {
WebSocketDialog::updateData(['id' => $this->dialog_id], ['name' => $this->name]);
}
}
// 负责人
if (Arr::exists($data, 'owner')) {