代码调整

This commit is contained in:
dong 2023-07-17 15:19:44 +08:00
parent 427e713470
commit dd2467900c

View File

@ -211,6 +211,9 @@ export async function loadLineDatas(app: GraphicApp) {
storage.trainWindows.forEach((trainWindow) => { storage.trainWindows.forEach((trainWindow) => {
datas.push(new TrainWindowData(trainWindow)); datas.push(new TrainWindowData(trainWindow));
}); });
storage.separators.forEach((separator) => {
datas.push(new SeparatorData(separator));
});
storage.sectionLinks.forEach((sectionLink) => { storage.sectionLinks.forEach((sectionLink) => {
if (sectionLink.code) { if (sectionLink.code) {
sectionLink.index = parseInt(sectionLink.code); sectionLink.index = parseInt(sectionLink.code);