From 7008a9d342ed4015371e753353d5c9896491107d Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Mon, 24 Nov 2025 16:45:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=88=B0=E7=9A=84=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=8D=A1=E7=89=87=E7=82=B9=E5=87=BB=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E8=AF=A6=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/project/search/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pages/project/search/index.vue b/pages/project/search/index.vue index 5fa5058..7c76157 100644 --- a/pages/project/search/index.vue +++ b/pages/project/search/index.vue @@ -540,8 +540,18 @@ const goToAddTask = (project) => { }); }; +const goToProjectDetail = (project) => { + if (!project?.id) { + toast('缺少项目ID'); + return; + } + uni.navigateTo({ + url: `/pages/project/form/index?mode=view&id=${project.id}` + }); +}; + const handleProjectClick = (project) => { - // TODO: 跳转到项目详情页面 + goToProjectDetail(project); }; onPullDownRefresh(async () => {