fix: edit tree no show icon
This commit is contained in:
parent
3a3176c3e5
commit
af828ca107
1 changed files with 6 additions and 8 deletions
|
|
@ -149,6 +149,11 @@ const treeProductTypeAndGroup = computed(() => {
|
|||
productGroup.value?.map((item) => {
|
||||
return {
|
||||
...item,
|
||||
_count: {
|
||||
type: recordTreeProductType.value[item.id]?.length ?? 0,
|
||||
service: item._count.service,
|
||||
product: item._count.product,
|
||||
},
|
||||
type: 'group',
|
||||
children:
|
||||
item.id === currentIdGrop.value
|
||||
|
|
@ -530,14 +535,6 @@ async function fetchListGroups() {
|
|||
totalGroup.value = res.total;
|
||||
maxPageGroup.value = Math.ceil(res.total / pageSizeGroup.value);
|
||||
productGroup.value = res.result;
|
||||
|
||||
// if(currentNode.value){
|
||||
// currentNode.value.status = currentStatus.value === 'All'
|
||||
// ? undefined
|
||||
// : currentStatus.value === 'ACTIVE'
|
||||
// ? 'ACTIVE'
|
||||
// : 'INACTIVE',
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1448,6 +1445,7 @@ watch(
|
|||
style="color: var(--foreground)"
|
||||
>
|
||||
<template #default-header="{ node }">
|
||||
{{ console.log(node) }}
|
||||
<div
|
||||
class="full-width q-py-xs clickable-node"
|
||||
:class="{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue