From 2a26f315ffb510fe8a162ec50d2cc2ba357e871a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=AF=E5=8D=87?= <359059686@qq.com> Date: Thu, 25 Mar 2021 16:42:21 +0800 Subject: [PATCH] =?UTF-8?q?1.4.2.20210325=5Frc=20=20=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E5=9B=BE=E4=BE=8B=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/working-area/model/axLegend.ts | 2 +- src/app/working-area/working-area.component.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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,