|
@@ -112,17 +112,6 @@ watchEffect(() => {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
- // for (const point of props.path.points) {
|
|
|
|
|
- // watchEffect(() => {
|
|
|
|
|
- // const ndx = props.path.points.indexOf(point);
|
|
|
|
|
- // console.log(ndx, 'watchEffect', ~ndx, 'point' ,point, props.path);
|
|
|
|
|
- // if (~ndx) {
|
|
|
|
|
- // path.changePointName(ndx, point.name);
|
|
|
|
|
- // path.changePointDisplay && path.changePointDisplay(ndx, !point.hide);
|
|
|
|
|
- // currentPoints[ndx].name = point.name;
|
|
|
|
|
- // }
|
|
|
|
|
- // });
|
|
|
|
|
- // }
|
|
|
|
|
},{ deep: true, flush: "post" });
|
|
},{ deep: true, flush: "post" });
|
|
|
watchEffect(() => {
|
|
watchEffect(() => {
|
|
|
path.changeDirection(props.path.showDirection, props.path.reverseDirection);
|
|
path.changeDirection(props.path.showDirection, props.path.reverseDirection);
|