wms-antdvue/.svn/pristine/de/def83f7985ca1d79b077a75c6d26ddb6d4110937.svn-base
2024-11-07 16:33:03 +08:00

19 lines
449 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* @description: 弹窗对外暴露的方法
*/
export interface ModalMethods {
setProps: (props) => void;
openModal: () => void;
closeModal: () => void;
setSubLoading: (status?) => void;
emitVisible?: (visible: boolean, uid: number) => void;
}
/**
* 支持修改DialogOptions 參數
*/
export type RegisterFn = (modalMethods: ModalMethods, uuid?: string) => void;
export type UseModalReturnType = [RegisterFn, ModalMethods];