@ccs-ui/rc-pro 1.1.19-beta-1 → 1.1.19-beta-2

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.
@@ -2,7 +2,7 @@
2
2
  import { FormProps } from 'antd';
3
3
  import { DialogFormRef } from './form';
4
4
  import { CcsDialogModal, CcsDialogModalProps } from './hook';
5
- export declare const DialogSelfButton: ({ auth, formRef, formInitialValues, request, onCancel, onRequestBefore, }: Pick<CcsDialogModalProps, "auth" | "request" | "onRequestBefore" | "onCancel"> & {
5
+ export declare const DialogSelfButton: ({ auth, formRef, formInitialValues, request, onCancel, onRequestBefore, }: Pick<CcsDialogModalProps, "request" | "auth" | "onRequestBefore" | "onCancel"> & {
6
6
  formRef: React.RefObject<DialogFormRef>;
7
7
  formInitialValues: FormProps['initialValues'];
8
8
  }) => import("react/jsx-runtime").JSX.Element;
package/es/table/index.js CHANGED
@@ -25,7 +25,7 @@ var ResizableTitle = function ResizableTitle(props) {
25
25
  var onResize = props.onResize,
26
26
  width = props.width,
27
27
  restProps = _objectWithoutProperties(props, _excluded);
28
- if (!width) {
28
+ if (!width || typeof width !== 'number') {
29
29
  return /*#__PURE__*/_jsx("th", _objectSpread({}, restProps));
30
30
  }
31
31
  return /*#__PURE__*/_jsx(Resizable, {
@@ -175,7 +175,7 @@ var CustomTable = function CustomTable(props) {
175
175
  children: /*#__PURE__*/_jsx(Table, _objectSpread(_objectSpread({
176
176
  rowKey: rowKey,
177
177
  dataSource: result,
178
- pagination: pagination !== null && pagination !== void 0 ? pagination : _objectSpread({
178
+ pagination: _objectSpread({
179
179
  total: totalNum,
180
180
  pageSize: pageSize,
181
181
  current: pageNo,
@@ -187,7 +187,7 @@ var CustomTable = function CustomTable(props) {
187
187
  pageSizeOptions: ['10', '20', '30', '50', '100'],
188
188
  size: restProps.size === 'small' ? 'small' : 'default',
189
189
  simple: restProps.size === 'small'
190
- }, pagination || {}),
190
+ }, pagination),
191
191
  rowSelection: rowSelection ? _objectSpread(_objectSpread({}, rowSelection), {}, {
192
192
  columnWidth: 60
193
193
  }) : undefined,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.1.19-beta-1",
4
- "description": " ProGrid 调整",
3
+ "version": "1.1.19-beta-2",
4
+ "description": "ProGrid 调整;ProTable 传入列宽度为number类型拖拽才生效;ProTable传入pagination分页显示异常",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Hong",