From 73b48dd59a2d47b365b87784371c4ef57dde659b Mon Sep 17 00:00:00 2001
From: Oliver <1070107765@qq.com>
Date: 星期四, 22 十二月 2022 11:17:47 +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..d29b5cc 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.violationsVO) {
+ this.type = baseCase.violationsVO.typeText;
} else {
- this.type = baseCase.violations.typeText;
+ this.type = baseCase.illegalBuilding.categoryText;
}
},
methods: {
--
Gitblit v1.8.0