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.
@@ -93,6 +93,8 @@ var stdin_default = getSimpleStyleHook("CoHighlight", (token) => {
93
93
  borderRadius: token.borderRadius
94
94
  },
95
95
  pre: {
96
+ display: "inline-block",
97
+ minWidth: "100%",
96
98
  padding: token.paddingSM
97
99
  },
98
100
  [`${componentCls}-copy`]: {
@@ -163,13 +163,14 @@ var stdin_default = /* @__PURE__ */defineComponent({
163
163
  };
164
164
  return filterEmptyFormValue(props.transformParams?.(params) || params);
165
165
  };
166
- const getFullFetchParams = () => {
167
- return {
168
- [tableKeys.page]: page.value,
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.6.18",
3
+ "version": "0.6.20",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",