molecule icon indicating copy to clipboard operation
molecule copied to clipboard

Modal.confirm无法关闭弹窗

Open BySlin opened this issue 2 years ago • 2 comments

Question

image

代码如下,使用Modal.confirm无法关闭弹窗

const { destroy } = Modal.confirm({
       title: '1111111111',
       onOk() {
              console.log('onOk');
              destroy();
        },
        onCancel() {
            console.log('onCancel');
           destroy();
       },
});

BySlin avatar Sep 06 '22 07:09 BySlin

It's a bug about Modal. We will fix it.

mortalYoung avatar Sep 06 '22 08:09 mortalYoung

@mumiao

mumiao avatar Sep 15 '22 07:09 mumiao