禁用删除按钮

This commit is contained in:
2025-10-21 11:49:54 +08:00
parent db7dd33b37
commit 89622bc253

View File

@ -320,7 +320,9 @@
activeOverlayId: 'polygon', // 激活图层
selectable: true, // 开启点选功能
snappable: true // 开启吸附
});
editor[`setKeyboardDeleteEnable`](false);
// 监听删除、修改完成事件