From 0fe5f766c8fe8b091c1006f43bc83def767029b8 Mon Sep 17 00:00:00 2001 From: dengqichen Date: Fri, 10 Jan 2025 10:34:19 +0800 Subject: [PATCH] 1 --- .../List/components/ApplicationModal.tsx | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/frontend/src/pages/Deploy/Application/List/components/ApplicationModal.tsx b/frontend/src/pages/Deploy/Application/List/components/ApplicationModal.tsx index e10aee43..221a69c6 100644 --- a/frontend/src/pages/Deploy/Application/List/components/ApplicationModal.tsx +++ b/frontend/src/pages/Deploy/Application/List/components/ApplicationModal.tsx @@ -299,19 +299,28 @@ const ApplicationModal: React.FC = ({ - - - + + + 未找到代码仓库组 - - + + {repositoryGroups.map((group) => ( { form.setValue("repositoryGroupId", group.id); + // 关闭 Popover + const popoverTrigger = document.querySelector('[role="combobox"]'); + if (popoverTrigger) { + (popoverTrigger as HTMLElement).click(); + } }} + className="cursor-pointer" > = ({ {group.name} ))} - - + +