From 70be6619e9434df44d83e8d1c223ca0fd6cbccc2 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Fri, 16 Jan 2026 01:23:59 +0800 Subject: [PATCH] =?UTF-8?q?refactor(chat-input):=20=E7=AE=80=E5=8C=96?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=90=9C=E7=B4=A2=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除项目 ID 筛选条件,统一使用 scope: 'all_project' 搜索所有项目的任务。 --- .../assets/js/pages/manage/components/ChatInput/index.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/assets/js/pages/manage/components/ChatInput/index.vue b/resources/assets/js/pages/manage/components/ChatInput/index.vue index b2b6fce85..da6936b49 100755 --- a/resources/assets/js/pages/manage/components/ChatInput/index.vue +++ b/resources/assets/js/pages/manage/components/ChatInput/index.vue @@ -2586,16 +2586,14 @@ export default { if (this.taskSearchKey !== searchKey) { return; } - const projectId = this.getProjectId(); const data = (await this.$store.dispatch("call", { url: 'project/task/lists', data: { keys: { name: searchKey, }, - project_id: projectId > 0 ? projectId : undefined, parent_id: -1, - scope: projectId > 0 ? undefined : 'all_project', + scope: 'all_project', pagesize: 50, }, }).catch(_ => {}))?.data;