Merge branch 'dev_vite' of http://18.167.251.121:10003/aidlab/aida_front into dev_vite

This commit is contained in:
李志鹏
2026-01-21 15:05:14 +08:00
5 changed files with 36 additions and 17 deletions

View File

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