From 027c5f7b005c9c024fdb681f3c0ed6ba5d5ea74e Mon Sep 17 00:00:00 2001 From: liaoxuezhi <2698393+2betop@users.noreply.github.com> Date: Thu, 9 Jan 2025 20:51:01 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=9B=B4=E6=96=B0=20ss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-ui/src/components/Breadcrumb.tsx | 4 ++-- .../renderers/Form/__snapshots__/radios.test.tsx.snap | 2 +- packages/amis/src/renderers/Form/InputFile.tsx | 7 ++++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/amis-ui/src/components/Breadcrumb.tsx b/packages/amis-ui/src/components/Breadcrumb.tsx index cd10cb5477b..0cc8576400b 100644 --- a/packages/amis-ui/src/components/Breadcrumb.tsx +++ b/packages/amis-ui/src/components/Breadcrumb.tsx @@ -188,7 +188,7 @@ export class BreadcrumbItem extends React.Component< classNameProp="Breadcrumb-icon" /> ) : null} - {label} + {label} ); } @@ -205,7 +205,7 @@ export class BreadcrumbItem extends React.Component< classNameProp="Breadcrumb-icon" /> ) : null} - {label} + {label} ); } diff --git a/packages/amis/__tests__/renderers/Form/__snapshots__/radios.test.tsx.snap b/packages/amis/__tests__/renderers/Form/__snapshots__/radios.test.tsx.snap index 638683f7c63..994ce8bc641 100644 --- a/packages/amis/__tests__/renderers/Form/__snapshots__/radios.test.tsx.snap +++ b/packages/amis/__tests__/renderers/Form/__snapshots__/radios.test.tsx.snap @@ -492,7 +492,7 @@ exports[`Renderer:radios source & autoFill 1`] = ` 13 diff --git a/packages/amis/src/renderers/Form/InputFile.tsx b/packages/amis/src/renderers/Form/InputFile.tsx index 3560cfd1cde..93542a5b2d3 100644 --- a/packages/amis/src/renderers/Form/InputFile.tsx +++ b/packages/amis/src/renderers/Form/InputFile.tsx @@ -1444,7 +1444,12 @@ export default class FileControl extends React.Component { {__('File.clickUpload')} -
+
{documentLink ? ( e.stopPropagation()}> {documentation ? documentation : __('File.helpText')}