Browse Source

[完善]实景图图片查看

guangxi
邵佳豪 2 years ago
parent
commit
1a25e07d96
  1. 6
      src/app/key-unit/realistic-picture-look/realistic-picture.component.ts

6
src/app/key-unit/realistic-picture-look/realistic-picture.component.ts

@ -177,7 +177,6 @@ export class RealisticPictureLookComponent implements OnInit {
}
}
//切换左侧实景图文件
changeReal(e, index) {
if (this.selectRealIndex != index) {
@ -353,7 +352,10 @@ export class previewImg3 {
ngOnInit(): void {
this.allImages = this.data.allImages;
this.allImages.forEach((element) => {
if (this.data.selectReal.id == "重点部位") {
if (
this.data.selectReal.id == "重点部位" ||
this.data.selectReal.id == "安全出口"
) {
element.previewImageUrl = `${element.imageUrl}`; //处理图片URL地址
} else {
element.previewImageUrl = `/api/Objects/PlanPlatform/${element.imageUrl}?x-oss-process=image/auto-orient,1`; //处理图片URL地址

Loading…
Cancel
Save