From 81bec6171234448b19ff60c53091f4ad6d564eaa Mon Sep 17 00:00:00 2001 From: e <2538815847@qq.com> Date: Wed, 24 Jul 2024 10:18:13 +0800 Subject: [PATCH] update --- src/loveflow/components/data/imageView.vue | 4 ++-- .../applySupermarket/keyPerson/components/detailDialog.vue | 6 +++++- .../applySupermarket/personBack/components/detailDialog.vue | 6 +++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/loveflow/components/data/imageView.vue b/src/loveflow/components/data/imageView.vue index 3becb49..ba1ed98 100644 --- a/src/loveflow/components/data/imageView.vue +++ b/src/loveflow/components/data/imageView.vue @@ -28,9 +28,9 @@ export default { watch: { value: { handler(val) { - console.log(val) if (val) { - this.url = this.baseUrl + val; + this.url = this.baseUrl + "/" + val; + console.log("监听的图片:", this.url); } else { this.url = ""; } diff --git a/src/views/applySupermarket/keyPerson/components/detailDialog.vue b/src/views/applySupermarket/keyPerson/components/detailDialog.vue index 303b5c3..3982ef9 100644 --- a/src/views/applySupermarket/keyPerson/components/detailDialog.vue +++ b/src/views/applySupermarket/keyPerson/components/detailDialog.vue @@ -26,7 +26,11 @@
未审核 - {{ dataInfo.detailsByAuditResultTrue.length }}人正常,{{ + {{ + dataInfo.detailsByAuditResultTrue && + dataInfo.detailsByAuditResultTrue.length + }}人正常,{{ + dataInfo.detailsByAuditResultFalse && dataInfo.detailsByAuditResultFalse.length }}人异常 diff --git a/src/views/applySupermarket/personBack/components/detailDialog.vue b/src/views/applySupermarket/personBack/components/detailDialog.vue index be6e1ba..cfa16b7 100644 --- a/src/views/applySupermarket/personBack/components/detailDialog.vue +++ b/src/views/applySupermarket/personBack/components/detailDialog.vue @@ -26,7 +26,11 @@
未审核 - {{ dataInfo.detailsByAuditResultTrue.length }}人正常,{{ + {{ + dataInfo.detailsByAuditResultTrue && + dataInfo.detailsByAuditResultTrue.length + }}人正常,{{ + dataInfo.detailsByAuditResultFalse && dataInfo.detailsByAuditResultFalse.length }}人异常