|
|
@ -162,7 +162,7 @@ export function useData(args: { |
|
|
|
{ metaValue = meta.value, viewMetaValue = viewMeta.value }: { metaValue?: TableType; viewMetaValue?: ViewType } = {}, |
|
|
|
{ metaValue = meta.value, viewMetaValue = viewMeta.value }: { metaValue?: TableType; viewMetaValue?: ViewType } = {}, |
|
|
|
undo = false, |
|
|
|
undo = false, |
|
|
|
) { |
|
|
|
) { |
|
|
|
const rowsToInsert = [] |
|
|
|
let rowsToInsert = [] |
|
|
|
|
|
|
|
|
|
|
|
isPaginationLoading.value = true |
|
|
|
isPaginationLoading.value = true |
|
|
|
|
|
|
|
|
|
|
@ -188,7 +188,7 @@ export function useData(args: { |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
if (missingRequiredColumns.size === 0) { |
|
|
|
if (missingRequiredColumns.size === 0) { |
|
|
|
autoGeneratedKeys.forEach((key) => delete insertObj[key]) |
|
|
|
autoGeneratedKeys.forEach((key) => delete insertObj[key!]) |
|
|
|
return insertObj |
|
|
|
return insertObj |
|
|
|
} |
|
|
|
} |
|
|
|
}), |
|
|
|
}), |
|
|
|