diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index c3bb8482..048798f2 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -193,7 +193,7 @@ const treeProductTypeAndGroup = computed( actionDisabled: item.status === 'INACTIVE', type: 'type', })) ?? item._count.type > 0) - ? [{ id: '', name: '' }] + ? [{ id: '', name: '', actionDisabled: item.status === 'INACTIVE' }] : [], })) ?? [], ); @@ -1398,7 +1398,6 @@ watch( }); currentStatusList.value.splice(1); - expandedTree.value.pop(); utilsStore.currentTitle.path.pop(); }