邵佳豪 4 years ago
parent
commit
baa70e67c5
  1. 4
      src/app/canvas-share-data.service.ts

4
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) {

Loading…
Cancel
Save