src/components/qrcode/index.jsx
@@ -29,13 +29,17 @@ const { value, card } = this.props let color = card.color let size = card.qrWidth || 50 let width = size + 'px' if (/rgb/ig.test(color)) { color = this.hexify(color) } if (size < 640) { size = 640 } return ( <div className="qrcode-box"> <div className="qrcode-box" style={{width: width, height: width}}> <QrCode value={value} size={size}