From 1e847a82eab1c8f2de3aadffc02e1e5c6b19e63d Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Wed, 3 Jan 2024 17:22:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E7=AB=99=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Station/StationConfig.d.ts | 2 +- src/packages/Station/StationConfig.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Station/StationConfig.d.ts b/components/Station/StationConfig.d.ts index f109305..9a9585d 100644 --- a/components/Station/StationConfig.d.ts +++ b/components/Station/StationConfig.d.ts @@ -81,7 +81,7 @@ export declare const otherConsts: { export declare const stationConstsMap: Map; export interface IStationData extends GraphicData { code: string; - stationName: string; + stationName?: string; kilometerSystem: KilometerSystem; hasControl?: boolean; concentrationStations: boolean; diff --git a/src/packages/Station/StationConfig.ts b/src/packages/Station/StationConfig.ts index 9ba6f6b..c1e83d0 100644 --- a/src/packages/Station/StationConfig.ts +++ b/src/packages/Station/StationConfig.ts @@ -122,7 +122,7 @@ export const stationConstsMap = new Map([ export interface IStationData extends GraphicData { code: string; // 西安车站索引--北京车站站名 - stationName: string; // 车站名--北京 + stationName?: string; // 车站名--北京 kilometerSystem: KilometerSystem; hasControl?: boolean; //是否有控制 concentrationStations: boolean; //是否集中站