From e26fefdb26fcec27b786f65498e9e5975a19d256 Mon Sep 17 00:00:00 2001
From: huliyong <2783385703@qq.com>
Date: Thu, 27 Mar 2025 23:37:38 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dzlx-item=E5=92=8Czhaom?=
=?UTF-8?q?u-item=E7=BB=84=E4=BB=B6=E4=B8=AD=E7=9A=84=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
在zlx-item.vue中,为item.doNum和item.num添加默认值0,防止未定义时显示异常。在zhaomu-item.vue中,暂时注释掉uv-avatar-group和参与人数的显示,以优化界面展示。
---
components/active/active-item.vue | 2 +-
components/zhaomu/zhaomu-item.vue | 4 ++--
components/zhaomu/zlx-item.vue | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/components/active/active-item.vue b/components/active/active-item.vue
index c570e2e..d56c134 100644
--- a/components/active/active-item.vue
+++ b/components/active/active-item.vue
@@ -212,4 +212,4 @@
.active {
color: $uni-color-primary !important;
}
-
+
\ No newline at end of file
diff --git a/components/zhaomu/zhaomu-item.vue b/components/zhaomu/zhaomu-item.vue
index 1b2cf6e..d1a9284 100644
--- a/components/zhaomu/zhaomu-item.vue
+++ b/components/zhaomu/zhaomu-item.vue
@@ -23,8 +23,8 @@
-
- {{item.num}}人参加
+
{{item.address}}
- {{ item.doNum }}/{{ item.num }}
+ {{ item.doNum || 0 }}/{{ item.num || 0 }}
开始签到