From bae10244ed487f0cea842f25bee09b68489ea691 Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Sun, 3 May 2020 23:54:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=BE=AE=E8=B0=83=EF=BC=8CJPG=20=E5=A4=A7=E5=B0=8F=E6=94=B9?= =?UTF-8?q?=E8=87=B3=201500?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Qrcode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Qrcode.js b/src/components/Qrcode.js index 7798f42..eae505d 100644 --- a/src/components/Qrcode.js +++ b/src/components/Qrcode.js @@ -93,7 +93,7 @@ class Qrcode extends React.Component { downloadImg(e) { const style = styleList[this.state.selectedIndex] const el = React.createElement(style.renderer, {qrcode: this.state.qrcode}) - saveImg(style.value, ReactDOMServer.renderToString(el), 512, 512) + saveImg(style.value, ReactDOMServer.renderToString(el), 1500, 1500) } render() {