信号机调整

This commit is contained in:
fan 2023-06-06 16:03:47 +08:00
parent f3abe56ecb
commit 21c1d97465

View File

@ -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];
} }
}); });