From 8bdc387bd4eaac187f202ca7fd6f933cb7d1e013 Mon Sep 17 00:00:00 2001 From: qianchuan Date: Thu, 18 Mar 2021 12:00:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E9=85=8D=E7=BD=AE=E5=8D=A0=E4=BD=8D=E5=9B=BE?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=8F=8A=E5=85=B6=E6=AF=94=E4=BE=8B=E7=AD=89?= =?UTF-8?q?=20(#1665)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat:图片上传支持配置占位图样式及其比例等 * fix conflict * 更新snapshot * feat:表格中图片上传支持默认图片 * 增加fixedSize配置项支持用户自定义图片框尺寸 * 拆分fixedSize配置项 * 删除无用代码 Co-authored-by: 邓黔川 Co-authored-by: dqc --- .../__snapshots__/buttonGroup.test.tsx.snap | 84 +++++++++---------- .../__snapshots__/Wizard.test.tsx.snap | 6 ++ docs/zh-CN/components/form/image.md | 41 ++++----- examples/components/Form/Full.jsx | 14 ++++ scss/components/_images.scss | 16 ++++ scss/components/form/_image.scss | 16 +++- src/renderers/Form/Image.tsx | 83 ++++++++++++++---- 7 files changed, 181 insertions(+), 79 deletions(-) diff --git a/__tests__/renderers/Form/__snapshots__/buttonGroup.test.tsx.snap b/__tests__/renderers/Form/__snapshots__/buttonGroup.test.tsx.snap index a3ee27e76..7f6320038 100644 --- a/__tests__/renderers/Form/__snapshots__/buttonGroup.test.tsx.snap +++ b/__tests__/renderers/Form/__snapshots__/buttonGroup.test.tsx.snap @@ -115,36 +115,36 @@ exports[`Renderer:button-group 1`] = ` class="resize-sensor" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: scroll; z-index: -1; visibility: hidden;" > - - + +