印花图层等禁止添加图层

This commit is contained in:
李志鹏
2026-01-12 09:42:07 +08:00
parent 7fc0e3bace
commit 85a158ea3e
8 changed files with 9 additions and 8 deletions

View File

@@ -493,7 +493,7 @@ export class CreateTextCommand extends Command {
// 先在一级图层中查找
for (let i = 0; i < layers.length; i++) {
const layer = layers[i];
if (layer.isPrintTrimsGroup) continue;
if (layer.id === layerId) {
return {
layer: layer,