From 84e12bfae6bcef5001c7c4f792b78daba4831814 Mon Sep 17 00:00:00 2001 From: Net Date: Thu, 25 Jul 2024 10:41:58 +0700 Subject: [PATCH] fix:(04) f5 icom missing --- src/pages/04_product-service/MainPage.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index 03c85233..c0d513e4 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -150,7 +150,8 @@ const treeProductTypeAndGroup = computed(() => { return { ...item, _count: { - type: recordTreeProductType.value[item.id]?.length ?? 0, + type: + recordTreeProductType.value[item.id]?.length ?? item._count.type, service: item._count.service, product: item._count.product, }, @@ -1445,7 +1446,6 @@ watch( style="color: var(--foreground)" >