weapp-qrcode icon indicating copy to clipboard operation
weapp-qrcode copied to clipboard

callback回调疑似未执行

Open laine001 opened this issue 5 years ago • 2 comments

onload中 var qrcode = new QRCode('canvas', { usingIn: this, text: "https://github.com/tomfriwel/weapp-qrcode", width: 150, height: 150, colorDark: "#000000", colorLight: "#ffffff", correctLevel: QRCode.CorrectLevel.H, callback: function(res) { console.log(res) // 未打印 }, success: res => { console.log(res) // 未打印 } });

laine001 avatar Dec 20 '19 09:12 laine001

用utils下面的js

lfsds avatar Sep 20 '20 15:09 lfsds

真的不打印 没有回调

kevinalex1982 avatar Nov 26 '20 07:11 kevinalex1982