From b94eae282d4014c9e861797168e61f270f04c821 Mon Sep 17 00:00:00 2001 From: luobisheng <727299681@qq.com> Date: 星期二, 29 十一月 2022 18:33:50 +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