修改坡度和曲度公里标选中默认值未还原问题
This commit is contained in:
parent
ebe95a45e3
commit
da6a739981
@ -40,6 +40,12 @@ watchEffect(() => {
|
|||||||
ks.kilometer = kiloMarkerModel.value.kilometerSystem[i].kilometer;
|
ks.kilometer = kiloMarkerModel.value.kilometerSystem[i].kilometer;
|
||||||
ks.direction = kiloMarkerModel.value.kilometerSystem[i].direction;
|
ks.direction = kiloMarkerModel.value.kilometerSystem[i].direction;
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
kilometerSystem.forEach((ks) => {
|
||||||
|
ks.coordinateSystem = '';
|
||||||
|
ks.kilometer = 0;
|
||||||
|
ks.direction = 0;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -40,6 +40,12 @@ watchEffect(() => {
|
|||||||
ks.kilometer = kiloMarkerModel.value.kilometerSystem[i].kilometer;
|
ks.kilometer = kiloMarkerModel.value.kilometerSystem[i].kilometer;
|
||||||
ks.direction = kiloMarkerModel.value.kilometerSystem[i].direction;
|
ks.direction = kiloMarkerModel.value.kilometerSystem[i].direction;
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
kilometerSystem.forEach((ks) => {
|
||||||
|
ks.coordinateSystem = '';
|
||||||
|
ks.kilometer = 0;
|
||||||
|
ks.direction = 0;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user