|
@@ -71,8 +71,7 @@ export default class MovePoint {
|
|
|
let startPoint = dataService.getPoint(line.startId);
|
|
|
let endPoint = dataService.getPoint(line.endId);
|
|
|
if (
|
|
|
- mathUtil.getDistance(startPoint, endPoint) == 0 &&
|
|
|
- startPoint.category != VectorCategory.Point.BasePoint //点重叠不应删除基准点
|
|
|
+ mathUtil.getDistance(startPoint, endPoint) == 0
|
|
|
) {
|
|
|
pointService.deletePoint(pointId);
|
|
|
}
|