Open harvenzhang opened 1 month ago
Modal.confirm({ content: '', title: '', onOk: ()=>{ } }) 目前已支持的这种写法 不支持promise,希望可以改一下
能够像这样使用 Modal.confirm("content").then(res=>{
})
官方的写法的好的,你的不好,没啥卵用
Basic Info
What are the similar cases of this feature
Modal.confirm({ content: '', title: '', onOk: ()=>{ } }) 目前已支持的这种写法 不支持promise,希望可以改一下
What problem does this feature solve?
能够像这样使用 Modal.confirm("content").then(res=>{
})