This commit is contained in:
aihe 2024-06-25 21:36:34 +08:00
parent ca2d3aab31
commit f2face931c

View File

@ -105,6 +105,7 @@ export default {
},
async confirmPrint(){
this.imageUrl.map(async (url, index)=> {
url = `${url}?t=${new Date().valueOf()}` // canvas渲染的图必须修改url,否则渲染不出来
let imgRes = await this.$refs[`curCanvas${index}`][0].renderCanvasImg(url, this.paperWidth)
let res = await this.$refs.curPrint.callPrint({
imgRes,