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} ))} - - + +