8197-perf_vnTableInside #1175

Merged
alexm merged 6 commits from 8197-perf_vnTableInside into test 2025-01-07 06:17:43 +00:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 1a8368c4ce - Show all commits

View File

@ -297,7 +297,8 @@ defineExpose({
ref="dmsRef"
:data-key="$props.model"
:url="$props.model"
:filter="dmsFilter"
map-key="dmsFk"
alexm marked this conversation as resolved
Review

En lo nou del map en ArrayData, si no se espeicifica falla.

En lo nou del map en ArrayData, si no se espeicifica falla.
:user-filter="dmsFilter"
:order="['dmsFk DESC']"
:auto-load="true"
@on-fetch="setData"

View File

@ -2,7 +2,6 @@
import { onBeforeUnmount, onMounted, ref, watch } from 'vue';
import { useI18n } from 'vue-i18n';
import { useArrayData } from 'composables/useArrayData';
import { onBeforeRouteUpdate } from 'vue-router';
const { t } = useI18n();
@ -112,7 +111,6 @@ onMounted(async () => {
});
onBeforeUnmount(() => {
console.log('store.keepData: ', store.keepData);
if (!store.keepData) arrayData.reset(['data']);
arrayData.resetPagination();
});
Outdated
Review

Aixina en els List no borrem mai els datos, pero en tot lo demes si.
Aixina se fora forsa a que quan canvies el id, te fasa reload

Aixina en els List no borrem mai els datos, pero en tot lo demes si. Aixina se fora forsa a que quan canvies el id, te fasa reload