diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index d876bcda..c1a042ec 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -157,9 +157,16 @@ const treeProductTypeAndGroup = computed(() => { type: 'type', })) ?? [] : recordTreeProductType.value[item.id]?.map((x) => ({ - ...x, - type: 'type', - })) ?? [], + ...x, + type: 'type', + })) ?? item._count.type > 0 + ? [ + { + id: '', + name: '', + }, + ] + : [], }; }) ?? []; @@ -3992,4 +3999,8 @@ watch( border-radius: var(--radius-2); padding-inline: var(--size-2); } + +* :deep(.q-icon.mdi-play) { + display: none; +}