hico-qrcode
v1.0.2
Published
``` 用于生成二维码,支持微信和支付宝。
Downloads
5
Readme
qrcode
介绍
用于生成二维码,支持微信和支付宝。
安装
npm i hico-qrcode
yarn add hico-qrcode
使用
import QR from "hico-qrcode"
<!--
[zfb-url]:res.html.match(/https:\/\/qr\.alipay\.com\/([a-z]|[0-9])*/)[0]
-->
QR.createQrCodeImg([url], {
size: parseInt([number]), // 二维码大小
})