From 634184720339be7295e5f914377c9b0a9d1677c9 Mon Sep 17 00:00:00 2001 From: t0ng7u Date: Fri, 8 Aug 2025 03:04:51 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20refactor(ui):=20merge=20?= =?UTF-8?q?=E2=80=9CContent=20Configuration=E2=80=9D=20into=20=E2=80=9CBas?= =?UTF-8?q?ic=20Information=E2=80=9D=20card=20in=20EditPrefillGroupModal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move `items` field (`JSONEditor` for endpoint type, `Form.TagInput` otherwise) into the first “Basic Information” card - Remove the second “Content Configuration” card and its header; consolidate to a single-card layout - Preserve form initialization, validation, and submit logic; API payload structure remains unchanged - Improves clarity and reduces visual clutter without altering behavior - Lint passes Affected file: - `web/src/components/table/models/modals/EditPrefillGroupModal.jsx` No breaking changes. --- .../table/models/modals/EditPrefillGroupModal.jsx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/web/src/components/table/models/modals/EditPrefillGroupModal.jsx b/web/src/components/table/models/modals/EditPrefillGroupModal.jsx index 72791555..88e802ae 100644 --- a/web/src/components/table/models/modals/EditPrefillGroupModal.jsx +++ b/web/src/components/table/models/modals/EditPrefillGroupModal.jsx @@ -223,21 +223,6 @@ const EditPrefillGroupModal = ({ visible, onClose, editingGroup, onSuccess }) => showClear /> - - - - {/* 内容配置 */} - -
- - - -
- {t('内容配置')} -
{t('配置组内包含的项目')}
-
-
- {selectedType === 'endpoint' ? (