|
@@ -118,7 +118,9 @@ const fixJoinBase = (data: FixPoint, fix3d: FixPoint3D) => {
|
|
|
|
|
|
const stopBasePosWatch = watch(
|
|
|
() => {
|
|
|
- const basePoint = basePoints.value.find((base) => base.id === data.baseId);
|
|
|
+ const basePoint = basePoints.value.find(
|
|
|
+ (base) => base.id === data.baseId
|
|
|
+ );
|
|
|
return basePoint ? { ...basePoint.pos } : null;
|
|
|
},
|
|
|
(basePos) => {
|
|
@@ -204,6 +206,7 @@ export const quitMeasure = (data: FixPoint) => {
|
|
|
export const selectFix3d = (data: FixPoint, selected: boolean) => {
|
|
|
const fix3d = fix3ds[data.id];
|
|
|
if (fix3d) {
|
|
|
+ console.error(selected, "select", data.id);
|
|
|
fix3d.selected(selected);
|
|
|
}
|
|
|
};
|