2018年3月

在react中可以定义默认props,使用es5时,可以使用getDefaultProps:var MyDemo = React.createClass({ getDefaultProps: function() { return { name: 'demo' }; }, render: function() { return <h1>This is my {this.props.name}</h1>; } }); ReactDOM.render( <MyDemo />, do- 阅读剩余部分 -

Linux Kernel权限提升漏洞(CNVD-2017-01069)CVE-2017-2583 修复方案yum update kernel-tools yum update kernel-tools-libs yum update python-perf ISC BIND 9 DNS64服务器拒绝服务漏洞 CVE-2017-3136yum update bind-libs-liteyum update bind-license