From 7d2b8bea8c24f6b25f7bdbd3d887fe98c8b03c90 Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Fri, 15 May 2020 12:45:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/app/PartDownload.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/app/PartDownload.js b/src/components/app/PartDownload.js index 719be88..f3432ad 100644 --- a/src/components/app/PartDownload.js +++ b/src/components/app/PartDownload.js @@ -36,9 +36,7 @@ const PartDownload = ({ value, onSvgDownload, onJpgDownload }) => {
{ - imgData.length > 0 ?
{ - onJpgDownload().then(res => setImgData(res)); - }}>
点击JPG下载
: null + imgData.length > 0 ?
点击JPG下载
: null }