~~~
// 二維碼設置參數方式
var qrcode = new QRCode('qrcode', {
text: 'wxp://f2f06RLRU96mC1NW6R382qmr6dZpwggQFjYi',
width: 250,
height: 250,
correctLevel: QRCode.CorrectLevel.H
});
~~~
參考文檔
https://www.cnblogs.com/niuboren/p/5887388.html