From b3a9bbab1e22f977487218a897a2f514777f6e47 Mon Sep 17 00:00:00 2001 From: "DESKTOP-474NEJQ\\xzsjob" <359059686@qq.com> Date: Fri, 28 Aug 2020 16:44:32 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=AD=A3]=20=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/canvas-share-data.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/canvas-share-data.service.ts b/src/app/canvas-share-data.service.ts index f93b7fb..b949cce 100644 --- a/src/app/canvas-share-data.service.ts +++ b/src/app/canvas-share-data.service.ts @@ -59,7 +59,7 @@ export class CanvasShareDataService { adjoin.CompanyId = sessionStorage.getItem('companyId'); item.PropertyInfos.forEach(element => { if (element.PropertyName === '方向') { - adjoin.Direction = element.PropertyValue; + adjoin.Direction = Number(element.PropertyValue); } else if (element.PropertyName === '名称/编号') { adjoin.Name = element.PropertyValue; } else if (element.PropertyType === PropertyType.Image) { @@ -84,7 +84,7 @@ export class CanvasShareDataService { adjoin.BuildingId = this.selectStorey.buildingId; item.PropertyInfos.forEach(element => { if (element.PropertyName === '方向') { - adjoin.Direction = element.PropertyValue; + adjoin.Direction = Number(element.PropertyValue); } else if (element.PropertyName === '名称/编号') { adjoin.Name = element.PropertyValue; } else if (element.PropertyType === PropertyType.Image) {