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; //是否集中站