信号机调整
This commit is contained in:
parent
f3abe56ecb
commit
21c1d97465
@ -40,9 +40,9 @@ watch(
|
|||||||
);
|
);
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
const platform = drawStore.selectedGraphic as Signal;
|
const signal = drawStore.selectedGraphic as Signal;
|
||||||
if (platform) {
|
if (signal) {
|
||||||
signalModel.copyFrom(platform.saveData());
|
signalModel.copyFrom(signal.saveData());
|
||||||
signalDirection.value = (directionSelect as never)[signalModel.direction];
|
signalDirection.value = (directionSelect as never)[signalModel.direction];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user