修复直接在印花preview后印花overall丢失

This commit is contained in:
X1627315083
2026-01-21 14:45:39 +08:00
parent d31a809fa8
commit 5d45eee7a3
5 changed files with 36 additions and 17 deletions

View File

@@ -1034,6 +1034,11 @@ defineExpose({
width = 0,// 导出的图片宽度
height = 0, // 导出的图片高度
} = {}) => {
console.log('导出图片',{isContainFixed,
isContainFixedOther,
isPrintTrimsNoRepeat,
isPrintTrimsRepeat,
isContainNormalLayer})
var base64 = await canvasManager.exportImage({
isContainBg,
isContainFixed,
@@ -1047,6 +1052,7 @@ defineExpose({
expPicType,
isEnhanceImg,
});
console.log('导出图片完成',)
if(width > 0 && height > 0){
base64 = await resizeImage(base64, width, height);
}