!1227 优化:层板转活动层板

pull/1227/MERGE
ZoeLeeFZ 4 years ago committed by ChenX
parent a47c9330fd
commit edd09f98b3

@ -29,7 +29,7 @@ export class ActicityLayerBoard implements Command
Filter: {
filterFunction: (obj, ent) =>
{
return ent instanceof Board && ent.BoardType === BoardType.Layer && ent.LayerNails.length === 0;
return ent instanceof Board && ent.BoardType === BoardType.Layer && ent.LayerNails.filter(i => !i.IsErase).length === 0;
}
}
});

Loading…
Cancel
Save