如下,我很想在这个对象中的函数访问该对象的字段,有方法吗?Confirm.defaultProps={title:"提示",visible:true,cancel:function(){ console.log(title) } } 查看完整描述