Closed wp1016 closed 11 months ago
Dialog组件函数调用时无法手动关闭
Dialog组件提供关闭方法
onConfirm和onClose不行吗
Dialog.onClose()吗?
Dialog.confirm({ title: '标题', message: '代码是写出来给人看的,附带能在机器上运行', onCancel: () => console.log('cancel'), onConfirm: () => console.log('confirm') })
如果希望外部组件控制,请参照组件调用
What is the new or updated feature that you are suggesting?
Dialog组件函数调用时无法手动关闭
Why should this feature be included?
Dialog组件提供关闭方法