提交 995ebc49 编写于 作者: H hanyuxinting

fix: 删无用。

上级 19c8d563
......@@ -23,7 +23,7 @@ const defaultProps = {
const BaseDialog: ForwardRefRenderFunction<
unknown,
Partial<DialogProps> & HTMLAttributes<HTMLDivElement>
> = (props, ref) => {
> = (props) => {
const { visible, footer, noOkBtn, noCancelBtn, okBtnDisabled, cancelAutoClose, ...restProps } =
props
......@@ -32,7 +32,7 @@ const BaseDialog: ForwardRefRenderFunction<
if (footer === null) return
const handleCancel = (e?: any) => {
const handleCancel = () => {
if (!cancelAutoClose) return
onClosed?.()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册