二维码参数微调,JPG 大小改至 1500

This commit is contained in:
ciaochaos 2020-05-03 23:54:13 +08:00
parent 51efaec82f
commit bae10244ed
1 changed files with 1 additions and 1 deletions

View File

@ -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() {