@ccs-ui/rc-pro 1.1.21-beta-1 → 1.1.21-beta-3
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.
package/es/dialog/HookModal.d.ts
CHANGED
|
@@ -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" | "
|
|
5
|
+
export declare const DialogSelfButton: ({ auth, formRef, formInitialValues, request, onCancel, onRequestBefore, }: Pick<CcsDialogModalProps, "auth" | "request" | "onRequestBefore" | "onCancel"> & {
|
|
6
6
|
formRef: React.RefObject<DialogFormRef>;
|
|
7
7
|
formInitialValues: FormProps['initialValues'];
|
|
8
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
package/es/pro-table/search.js
CHANGED
|
@@ -374,7 +374,8 @@ function SearchComponent(_ref) {
|
|
|
374
374
|
ref: ref,
|
|
375
375
|
style: {
|
|
376
376
|
maxHeight: isShowMore ? 500 : 0,
|
|
377
|
-
overflow: 'hidden'
|
|
377
|
+
overflow: 'hidden',
|
|
378
|
+
marginBottom: isShowMore ? 10 : 0
|
|
378
379
|
},
|
|
379
380
|
children: /*#__PURE__*/_jsx(Form, {
|
|
380
381
|
initialValues: formInitValues,
|
package/es/pro-table/table.js
CHANGED
|
@@ -299,7 +299,6 @@ var InternalProTable = function InternalProTable(props) {
|
|
|
299
299
|
useEffect(function () {
|
|
300
300
|
// 判断当前dom所处的滚动区域
|
|
301
301
|
var inMd = onIsInModalOrDrawer(tableRef.current);
|
|
302
|
-
console.log('inMd', inMd);
|
|
303
302
|
if (inMd) stickyRef.current = inMd;
|
|
304
303
|
|
|
305
304
|
// // 监听resize
|