@ccs-ui/rc-pro 2.1.8 → 2.1.9
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/hook.d.ts +2 -2
- package/package.json +1 -1
package/es/dialog/hook.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ type DialogEvent<TParams, TData> = {
|
|
|
32
32
|
/** 表单接口请求 */
|
|
33
33
|
request?: Service<TParams, TData>;
|
|
34
34
|
};
|
|
35
|
-
export type CcsDialogModalProps<TParams = any, TData = any> = DialogEvent<
|
|
35
|
+
export type CcsDialogModalProps<TParams = any, TData = any> = DialogEvent<TParams, TData> & Omit<ModalFuncProps, 'onCancel' | 'afterOpenChange' | 'onOk' | 'footer'> & {
|
|
36
36
|
/** antd form */
|
|
37
37
|
form?: FormProps;
|
|
38
38
|
/** 表单接口请求权限 */
|
|
@@ -44,7 +44,7 @@ export type CcsDialogModalProps<TParams = any, TData = any> = DialogEvent<TData,
|
|
|
44
44
|
/** 弹框关闭回调 */
|
|
45
45
|
onClose?: () => void;
|
|
46
46
|
};
|
|
47
|
-
export type CcsDialogDrawerProps<TParams = any, TData = any> = DialogEvent<
|
|
47
|
+
export type CcsDialogDrawerProps<TParams = any, TData = any> = DialogEvent<TParams, TData> & Omit<DrawerProps, 'extra' | 'onClose' | 'onOk' | 'afterOpenChange' | 'footer'> & {
|
|
48
48
|
/** antd form */
|
|
49
49
|
form?: FormProps;
|
|
50
50
|
/** 表单接口请求权限 */
|