|
[其他]
html2canvas报这几个debug是什么意思?求助
[复制链接]
在正常h5页面用是没问题的,apicloud这边就报这种错了,而且回调返回值还是空的代码:
- api.showProgress();
- html2canvas(canvasBox, {
- useCORS: true,
- allowTaint: true,
- backgroundColor: '#fff',
- scrollX: 0,
- scrollY: 0
- }).then(canvas => {
- console.log(JSON.stringify(canvas));})
复制代码 报错:
- [2021-9-17 13:44:26][DEBUG] #1 2ms Starting document clone with size 393x779 scrolled to 0,0 at html2canvas.js : 7674
- [2021-9-17 13:44:27][DEBUG] #1 135ms Document cloned, element located at 2018.0909423828125,-2000 with size 375x471 using computed rendering at html2canvas.js : 7674
- [2021-9-17 13:44:27][DEBUG] #1 136ms Starting DOM parsing at html2canvas.js : 7674
- [2021-9-17 13:44:27][DEBUG] #1 201ms Added image file:///storage/emulated/0/UZMap/A6067415701260/image/%E6%B9%98%E8%B5%A3%E6%9C%A8%E6%A1%B6%E9%A5%ADqrcode.png at html2canvas.js : 7674
- [2021-9-17 13:44:27][DEBUG] #1 227ms Added image file:///storage/emulated/0/UZMap/wgt/A6067415701260/image/textscroll.jpg at html2canvas.js : 7674
- [2021-9-17 13:44:27][DEBUG] #1 228ms Starting renderer for element at 2018.0909423828125,-2000 with size 375x471 at html2canvas.js : 7674
- [2021-9-17 13:44:27][DEBUG] #1 229ms Canvas renderer initialized (375x471) with scale 2.75 at html2canvas.js : 7674
- [2021-9-17 13:44:27][DEBUG] #1 248ms Finished rendering at html2canvas.js : 7674
- [2021-9-17 13:44:27][INFO] {} at product_QRcode_frame.html : 253
复制代码
|
|