From ca9ceda2f73d16b7386d2f0dc137b6b510aa8b0f Mon Sep 17 00:00:00 2001 From: jialin Date: Wed, 15 Oct 2025 13:29:43 +0800 Subject: [PATCH] fix: update backend parameters after changing backend --- .../components/access-control-modal/form.tsx | 11 ++++++++ .../llmodels/components/update-modal.tsx | 26 ------------------- src/pages/llmodels/forms/index.tsx | 21 +++++++++++++++ 3 files changed, 32 insertions(+), 26 deletions(-) diff --git a/src/pages/llmodels/components/access-control-modal/form.tsx b/src/pages/llmodels/components/access-control-modal/form.tsx index 7f0b8c93..c72517bc 100644 --- a/src/pages/llmodels/components/access-control-modal/form.tsx +++ b/src/pages/llmodels/components/access-control-modal/form.tsx @@ -1,3 +1,4 @@ +import AlertBlockInfo from '@/components/alert-info/block'; import TransferInner from '@/pages/_components/transfer'; import { queryUsersList } from '@/pages/users/apis'; import { useIntl } from '@umijs/max'; @@ -132,6 +133,16 @@ const AccessControlForm = forwardRef((props: AccessControlFormProps, ref) => { ]} > + {accessPolicy === 'public' && ( +
+ +
+ )} {accessPolicy === 'allowed_users' && ( <>