From 1a25e07d96f0278c8d89716f9674100f7cd98230 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Wed, 15 Mar 2023 14:12:05 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E5=AE=9E=E6=99=AF=E5=9B=BE?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../realistic-picture-look/realistic-picture.component.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/key-unit/realistic-picture-look/realistic-picture.component.ts b/src/app/key-unit/realistic-picture-look/realistic-picture.component.ts index dade2af..09f9a26 100644 --- a/src/app/key-unit/realistic-picture-look/realistic-picture.component.ts +++ b/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地址