cosey 0.6.18 → 0.6.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -163,13 +163,14 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
163
163
|
};
|
|
164
164
|
return filterEmptyFormValue(props.transformParams?.(params) || params);
|
|
165
165
|
};
|
|
166
|
-
const
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
[tableKeys.pageSize]: pageSize.value,
|
|
170
|
-
...getFetchParams()
|
|
171
|
-
};
|
|
166
|
+
const getPaginationParams = () => props.pagination === false ? null : {
|
|
167
|
+
[tableKeys.page]: page.value,
|
|
168
|
+
[tableKeys.pageSize]: pageSize.value
|
|
172
169
|
};
|
|
170
|
+
const getFullFetchParams = () => ({
|
|
171
|
+
...getPaginationParams(),
|
|
172
|
+
...getFetchParams()
|
|
173
|
+
});
|
|
173
174
|
const {
|
|
174
175
|
isFetching,
|
|
175
176
|
execute
|