This commit is contained in:
joylink_fanyuhong 2024-02-22 18:39:09 +08:00
commit db3d424e53

View File

@ -175,7 +175,10 @@ onMounted(async () => {
projectInfo.name = res.name;
projectInfo.pid = res.pid + '';
const linksArr = res.mapInfoLinks?.filter((ii) => {
return ii.type != PictureType.TrainData;
return (
ii.type == PictureType.StationLayout ||
ii.type == PictureType.RelayCabinetLayout
);
});
projectInfo.mapInfoLinks = linksArr as MapInfo[];
projectInfo.trainSizeLinks = res.trainSizeLinks;