diff --git a/components/packages/Station/StationConfig.d.ts b/components/packages/Station/StationConfig.d.ts index b8677d5..6326726 100644 --- a/components/packages/Station/StationConfig.d.ts +++ b/components/packages/Station/StationConfig.d.ts @@ -86,7 +86,7 @@ export interface IStationData extends GraphicData { kilometerSystem: KilometerSystem; hasControl?: boolean; concentrationStations: boolean; - name: string; + name?: string; manageStations: number[]; depots: boolean; refIbpMapCode?: string; diff --git a/src/packages/Station/StationConfig.ts b/src/packages/Station/StationConfig.ts index 4136341..356c001 100644 --- a/src/packages/Station/StationConfig.ts +++ b/src/packages/Station/StationConfig.ts @@ -127,7 +127,7 @@ export interface IStationData extends GraphicData { kilometerSystem: KilometerSystem; hasControl?: boolean; //是否有控制 concentrationStations: boolean; //是否集中站 - name: string; //车站名称 + name?: string; //车站名称 manageStations: number[]; //集中站管理的车站 depots: boolean; //是否车辆段 refIbpMapCode?: string;