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 1 additions and 2 deletions
Showing only changes of commit d23e077af0 - Show all commits

View File

@ -297,7 +297,6 @@ defineExpose({
ref="dmsRef"
:data-key="$props.model"
:url="$props.model"
map-key="dmsFk"
:user-filter="dmsFilter"
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.
:order="['dmsFk DESC']"
:auto-load="true"

View File

@ -303,7 +303,7 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
for (const row of data) {
const key = row[store.mapKey];
const val = { ...row, key };
if (store.map.has(key)) {
if (key && store.map.has(key)) {
const { position } = store.map.get(key);
val.position = position;
store.map.set(key, val);