feat: 优化导出功能,清除选中状态以避免导出问题,调整裁剪路径以保持准确性
This commit is contained in:
@@ -263,7 +263,8 @@ export class ExportManager {
|
||||
|
||||
// 递归收集子图层的对象
|
||||
if (layer.children && layer.children.length > 0) {
|
||||
for (const childLayer of layer.children) {
|
||||
for (let i = layer.children.length - 1; i >= 0; i--) {
|
||||
const childLayer = layer.children[i];
|
||||
const childObjects = this._collectObjectsFromLayer(childLayer);
|
||||
realObjects.push(...childObjects);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user