Browse Source

PropertyType 已保存的值类型转换为int

master
徐振升 3 years ago
parent
commit
214d176f1f
  1. 1
      src/app/working-area/working-area.component.ts

1
src/app/working-area/working-area.component.ts

@ -1274,6 +1274,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
this.emit('createIcon', axLegend);
} else {
const axLegend = new AxLegend(data, this, shapeMap);
axLegend.assetData.PropertyInfos[0].PropertyType = Number(axLegend.assetData.PropertyInfos[0].PropertyType);
axLegend.assetData.PropertyInfos[0].PropertyValue = String(axLegend.assetData.PropertyInfos[0].PropertyValue);
}
}

Loading…
Cancel
Save