搜索到的项目卡片点击查看详细

This commit is contained in:
WindowBird 2025-11-24 16:45:52 +08:00
parent 839a97b5c2
commit 7008a9d342

View File

@ -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 () => {