From e7f9abcc1986a31af9816e1c93973c186fb9296f Mon Sep 17 00:00:00 2001 From: lbw_9527443 <780139497@qq.com> Date: Mon, 1 Sep 2025 17:32:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=85=A8=E9=83=A8?= =?UTF-8?q?=E9=98=B6=E6=AE=B5=E5=AE=A2=E6=88=B7=E6=95=B0=E9=87=8F=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 当customersList为空时,使用props.data中的全部阶段数据作为后备值 --- .../src/views/person/components/SalesTimelineWithTaskList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-vue-app/src/views/person/components/SalesTimelineWithTaskList.vue b/my-vue-app/src/views/person/components/SalesTimelineWithTaskList.vue index 8042881..daca6ec 100644 --- a/my-vue-app/src/views/person/components/SalesTimelineWithTaskList.vue +++ b/my-vue-app/src/views/person/components/SalesTimelineWithTaskList.vue @@ -356,7 +356,7 @@ const emit = defineEmits(['stage-select', 'select-contact']); const totalCustomers = computed(() => { // 全部阶段的数量就是前6个阶段的数量 if (props.customersList?.length > 0) return props.customersList.length; - + // 如果没有实际数据,使用props.data中的数据作为后备 if (props.data['全部']) return props.data['全部'];