src/views/layerManagement/components/utils.js
@@ -61,6 +61,8 @@ this.delPoint = this.delPoint.bind(this) // 外部订阅者 this.listeners = [] this.polygons = []; // 存储所有多边形数据 { id, positions, entity, pointsEntity } this.currentPolygonIndex = -1; // 当前操作的多边形索引 } // 实体命名常量