fix: 删除console

This commit is contained in:
zhangyu
2022-04-20 09:35:27 +08:00
parent 8b422de2d0
commit 12f996555f
6 changed files with 3 additions and 8 deletions

View File

@@ -31,7 +31,6 @@ export default {
// a4纸的尺寸[595.28,841.89]html页面生成的canvas在pdf中图片的宽高
const imgWidth = 595.28
const imgHeight = 592.28 / contentWidth * contentHeight
console.log(canvas)
// canvas.paddingTop = '30px'
const pageDataImg = canvas.toDataURL('image/jpeg', 1.0)
const img = new Image()