From 3b091db7a2cbe9ac9ae53bfa1c7e895dd4aca787 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期三, 07 十二月 2022 17:10:13 +0800 Subject: [PATCH] 大华视频显示 --- src/components/scene/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/scene/index.vue b/src/components/scene/index.vue index 303d81b..13a2f54 100644 --- a/src/components/scene/index.vue +++ b/src/components/scene/index.vue @@ -152,7 +152,7 @@ if (invesList) { if (invesList) { this.investigation = invesList; - this.investigation.pic = invesList.pic.split(","); + this.investigation.pic = invesList.pic?.split(","); this.partyInfo = invesList.partyInfo; } } @@ -161,10 +161,10 @@ this.arrivalSituation.situationPic = mylist.situationPic.split(",") } this.mybaseCase = baseCase; - if (baseCase.violations == null) { - this.type = baseCase.illegalBuilding.categoryText + if (baseCase.violations) { + this.type = baseCase.violations.typeText; } else { - this.type = baseCase.violations.typeText; + this.type = baseCase.illegalBuilding.categoryText; } }, methods: { -- Gitblit v1.8.0