diff --git a/src/app/babylon/controller/mode-manager.ts b/src/app/babylon/controller/mode-manager.ts index 146f793..8b28322 100644 --- a/src/app/babylon/controller/mode-manager.ts +++ b/src/app/babylon/controller/mode-manager.ts @@ -28,7 +28,7 @@ export class ModeManager { /** * 调试模式 */ - public static isDebug = true; + public static isDebug = false; diff --git a/src/app/babylon/model/data/institution/building/export-data.ts b/src/app/babylon/model/data/institution/building/export-data.ts index bd607bc..7e584ff 100644 --- a/src/app/babylon/model/data/institution/building/export-data.ts +++ b/src/app/babylon/model/data/institution/building/export-data.ts @@ -36,7 +36,10 @@ export class ExportData { } let type = facilityByTypes[i].facilityType; if (TsTool.stringContain(type, "XF_")) { - this.消防设备.push(new ExportData_XFSB(facilityByTypes[i])); + if (facilityByTypes[i].facilities.length > 0) { + this.消防设备.push(new ExportData_XFSB(facilityByTypes[i])); + } + } for (let j = 0; j < facilities.length; j++) {