|
|
@ -211,13 +211,13 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState( |
|
|
|
const loadChildrenList = async () => { |
|
|
|
const loadChildrenList = async () => { |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (colOptions.value.type === 'bt') return |
|
|
|
if (colOptions.value.type === 'bt') return |
|
|
|
|
|
|
|
if (!rowId.value || !column.value) return |
|
|
|
if (isPublic.value) { |
|
|
|
if (isPublic.value) { |
|
|
|
childrenList.value = await $api.public.dataNestedList( |
|
|
|
childrenList.value = await $api.public.dataNestedList( |
|
|
|
sharedView.value?.uuid as string, |
|
|
|
sharedView.value?.uuid as string, |
|
|
|
encodeURIComponent(rowId.value), |
|
|
|
encodeURIComponent(rowId.value), |
|
|
|
colOptions.value.type as 'mm' | 'hm', |
|
|
|
colOptions.value.type as 'mm' | 'hm', |
|
|
|
column?.value?.id, |
|
|
|
column.value.id, |
|
|
|
{ |
|
|
|
{ |
|
|
|
limit: String(childrenListPagination.size), |
|
|
|
limit: String(childrenListPagination.size), |
|
|
|
offset: String(childrenListPagination.size * (childrenListPagination.page - 1)), |
|
|
|
offset: String(childrenListPagination.size * (childrenListPagination.page - 1)), |
|
|
|