From ad12c0d7d547eb679b7eee7a43ee5b62bea60fd4 Mon Sep 17 00:00:00 2001 From: manzhenhua Date: Tue, 12 May 2020 20:25:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/upload/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/upload/index.js b/components/upload/index.js index f43f36f..5aab210 100644 --- a/components/upload/index.js +++ b/components/upload/index.js @@ -203,9 +203,9 @@ class UploadCom extends React.Component { showUploadList={{ showPreviewIcon: true, showRemoveIcon: true, showDownloadIcon: true }} > {renderButton ? ( - renderButton + renderButton() ) : ( - )} -- 2.21.0