同步框架代码

This commit is contained in:
dong 2023-07-12 13:10:17 +08:00
parent 691c82bd50
commit 1a74406d05

View File

@ -737,7 +737,7 @@ export class GraphicApp extends EventEmitter<GraphicAppEvents> {
deleteGraphics(...graphics: JlGraphic[]): JlGraphic[] { deleteGraphics(...graphics: JlGraphic[]): JlGraphic[] {
const dels = graphics.filter((g) => { const dels = graphics.filter((g) => {
if ( if (
this._options?.isSupportDeletion && this._options?.isSupportDeletion == undefined ||
this._options.isSupportDeletion(g) this._options.isSupportDeletion(g)
) { ) {
this.doDeleteGraphics(g); this.doDeleteGraphics(g);