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 }