rmp
rmp copied to clipboard
问题:选择多个站点时无法正确显示部分信息
问题:选择多个站点时无法正确显示部分信息
https://github.com/railmapgen/rmp/assets/146796722/189d68af-6528-4f82-a9ef-7d60a24e1624
https://github.com/railmapgen/rmp/blob/e18553ab1a176aca9ab442ccae43d4788c39a7aa/src/components/panels/details/station-type-section.tsx#L36
@langonginc Looks like this is not recalculated after selected is changed. However, this component will be remounted when selected.length from >=2 to 1. I could not reproduce this problem anymore in my local environment after several log, even after I removed them. Feel free to have a deeper investigation :)
感谢您提供的信息,这个问题已经被修复~