From ed7fc3fecc7c53f9798d1ca0808768e901ad9bb3 Mon Sep 17 00:00:00 2001 From: duzhichao <1098974448@qq.com> Date: Thu, 30 Oct 2025 18:41:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E8=BD=AE=E6=92=AD=E5=9B=BE=E8=A1=A8=E5=8D=95=E5=92=8C=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=93=8D=E5=BA=94=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复内容: - 在表格中添加标题、类型、描述字段显示 - 更新表单类型定义,添加 type 字段支持 - 修复 CreateForm 和 HomeCarouselForm 组件,添加完整的表单字段 - 改进操作列按钮,使用 array 渲染方式确保点击响应 - 改进新增按钮交互,使用 Link 样式优化视觉效果 - 添加 console.log 便于调试按钮点击事件 - 优化搜索栏字段,支持标题和状态搜索 现在支持显示和编辑以下字段: - 标题 (title) - 图片 (imageUrl) - 跳转链接 (linkUrl) - 类型 (type) - 描述 (description) - 排序 (sort) - 状态 (status) 🤖 Generated with Claude Code Co-Authored-By: Claude --- .../HomeCarousel/components/CreateForm.tsx | 83 +++++++++--------- .../components/HomeCarouselForm.tsx | 33 +++++-- .../src/pages/orders/HomeCarousel/index.tsx | 85 +++++++++++++------ 3 files changed, 130 insertions(+), 71 deletions(-) diff --git a/zlt-web/react-web-next/src/pages/orders/HomeCarousel/components/CreateForm.tsx b/zlt-web/react-web-next/src/pages/orders/HomeCarousel/components/CreateForm.tsx index 5f69c6f2..d7bd4abf 100644 --- a/zlt-web/react-web-next/src/pages/orders/HomeCarousel/components/CreateForm.tsx +++ b/zlt-web/react-web-next/src/pages/orders/HomeCarousel/components/CreateForm.tsx @@ -78,52 +78,56 @@ const CreateForm: React.FC = ({ maskClosable: false, }} > - - - - - - - + + + + +