diff --git a/src/app/working-area/model/axLegend.ts b/src/app/working-area/model/axLegend.ts index f2158ac..a1c8281 100644 --- a/src/app/working-area/model/axLegend.ts +++ b/src/app/working-area/model/axLegend.ts @@ -61,7 +61,7 @@ export class AxLegend extends AxShape { this.removeChildren(); let index = 1; const offset = 25; - let number = this.assetData.PropertyInfos[0].PropertyValue; + let number = Number(this.assetData.PropertyInfos[0].PropertyValue); const width = 300; const height = 50; for (let i = 0; i < number; i++) { diff --git a/src/app/working-area/working-area.component.ts b/src/app/working-area/working-area.component.ts index 60b6c20..157d794 100644 --- a/src/app/working-area/working-area.component.ts +++ b/src/app/working-area/working-area.component.ts @@ -166,7 +166,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV * 重大调整-主版本号增加 * 日期变更-日期版本号增加 */ - public VERSION = '1.4.1.20210303_rc'; + public VERSION = '1.4.2.20210325_rc'; /** * 数据初始化 */ @@ -1180,7 +1180,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV TemplateId: null, FloorId: this.canvasData.selectStorey.id, Angle: 0, - Enabled: null, + Enabled: true, FillMode: null, FireElementId: null, FixedSize: null, @@ -1207,7 +1207,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV PhysicalUnit: '', PropertyName: '列', PropertyType: 2, - PropertyValue: 2, + PropertyValue: '2', }, ], Scale: 1,