diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index 4194d722..9351a214 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -1311,8 +1311,9 @@ async function enterGroup( currentIdGrop.value = id; currentNoAction.value = status === 'INACTIVE'; pathTypeName.value = name; - await fetchListOfService(); - await fetchListOfProduct(); + + if (productMode.value === 'service') await fetchListOfService(); + if (productMode.value === 'product') await fetchListOfProduct(); if (toService) await enterNext('service'); else productMode.value = 'group'; @@ -1349,6 +1350,8 @@ async function enterNext(type: 'service' | 'product') { filterStat.value.push('group'); filterStat.value.push('service'); } + if (productMode.value === 'service') await fetchListOfService(); + if (productMode.value === 'product') await fetchListOfProduct(); flowStore.rotate(); }