From 5269cbf86216b05d5c63024ff1d224d8920724ca Mon Sep 17 00:00:00 2001 From: jialin Date: Tue, 8 Apr 2025 19:44:15 +0800 Subject: [PATCH] fix: submit button is incorrect in edit model --- src/pages/llmodels/components/update-modal.tsx | 10 ++++++++-- src/pages/llmodels/hooks/index.ts | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/pages/llmodels/components/update-modal.tsx b/src/pages/llmodels/components/update-modal.tsx index 73bac745..762b8240 100644 --- a/src/pages/llmodels/components/update-modal.tsx +++ b/src/pages/llmodels/components/update-modal.tsx @@ -356,6 +356,7 @@ const UpdateModal: React.FC = (props) => { form.setFieldsValue(formData); setWarningStatus({ show: true, + isDefault: true, message: intl.formatMessage({ id: 'models.form.update.tips' }) @@ -404,10 +405,15 @@ const UpdateModal: React.FC = (props) => {