Remoove arguments, fix lint

This commit is contained in:
Wei Zhu 2018-04-28 11:04:10 +08:00
parent 9c78bfaee4
commit 125085398c
5 changed files with 0 additions and 5 deletions

View File

@ -22,7 +22,6 @@ class Demo extends React.Component {
value: undefined, value: undefined,
} }
onChange = (value) => { onChange = (value) => {
console.log(arguments);
this.setState({ value }); this.setState({ value });
} }
render() { render() {

View File

@ -50,7 +50,6 @@ class Demo extends React.Component {
value: ['0-0-0'], value: ['0-0-0'],
} }
onChange = (value) => { onChange = (value) => {
console.log('onChange ', value, arguments);
this.setState({ value }); this.setState({ value });
} }
render() { render() {

View File

@ -22,7 +22,6 @@ class Demo extends React.Component {
value: undefined, value: undefined,
} }
onChange = (value) => { onChange = (value) => {
console.log(arguments);
this.setState({ value }); this.setState({ value });
} }
render() { render() {

View File

@ -41,7 +41,6 @@ class Demo extends React.Component {
value: undefined, value: undefined,
} }
onChange = (value) => { onChange = (value) => {
console.log(arguments);
this.setState({ value }); this.setState({ value });
} }
render() { render() {

View File

@ -61,7 +61,6 @@ class Demo extends React.Component {
selectedKeys: [], selectedKeys: [],
} }
onExpand = (expandedKeys) => { onExpand = (expandedKeys) => {
console.log('onExpand', arguments);
// if not set autoExpandParent to false, if children expanded, parent can not collapse. // if not set autoExpandParent to false, if children expanded, parent can not collapse.
// or, you can remove all expanded children keys. // or, you can remove all expanded children keys.
this.setState({ this.setState({