diff --git a/frontend/src/pages/Deploy/Application/List/components/ApplicationModal.tsx b/frontend/src/pages/Deploy/Application/List/components/ApplicationModal.tsx index 221a69c6..a0d36023 100644 --- a/frontend/src/pages/Deploy/Application/List/components/ApplicationModal.tsx +++ b/frontend/src/pages/Deploy/Application/List/components/ApplicationModal.tsx @@ -279,66 +279,35 @@ const ApplicationModal: React.FC = ({ render={({field}) => ( 代码仓库组 - - - - - - - - - { + form.setValue("repositoryGroupId", Number(value)); + }} + value={field.value?.toString()} + > + + + - 未找到代码仓库组 - - - {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} - - ))} - - - - - - + + + + {repositoryGroups.map((group) => ( + + {group.name} + + ))} + + + )} />