导出图片添加配置

This commit is contained in:
李志鹏
2026-01-15 14:10:05 +08:00
parent 7a4fc0736d
commit 28b6153ab0
5 changed files with 38 additions and 17 deletions

View File

@@ -1018,9 +1018,10 @@ defineExpose({
exportImage: ({
isContainBg = false, // 是否包含背景图层
isContainFixed = false, // 是否包含固定图层
isContainFixedOther = false, // 是否包含其他固定图层
isContainFixedOther = true, // 是否包含其他固定图层--颜色图层
isPrintTrimsNoRepeat = true, // 是否包含印花图层的不平铺
isPrintTrimsRepeat = true, // 是否包含印花图层的平铺
isContainNormalLayer = true, // 是否包含普通图层
isCropByBg = false, // 是否使用背景大小裁剪 // 如果为true则导出时裁剪到背景图层大小
layerId = "", // 导出具体图层ID
layerIdArray = [], // 导出多个图层ID数组
@@ -1033,6 +1034,7 @@ defineExpose({
isContainFixedOther,
isPrintTrimsNoRepeat,
isPrintTrimsRepeat,
isContainNormalLayer,
isCropByBg,
layerId,
layerIdArray,