refactor(agent): 优化 DynamicForm 组件

- 移除了颜色选择器组件
- 调整了表单字段的渲染逻辑
This commit is contained in:
林志军
2025-08-08 10:29:38 +08:00
parent 6d2fe883f3
commit 35766f7cb0

View File

@ -21,9 +21,7 @@
v-model="formData[field.props.name]"
:placeholder="field?.props?.placeholder"
/>
<a-color-picker v-if="field.type === 'color_picker'"
style="width: 500px; height: 200px"
v-model="formData[field.props.name]" />
<ImageUpload
v-if="field.type == 'upload_image'"
v-model="formData[field.props.name]"