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,
}
onChange = (value) => {
console.log(arguments);
this.setState({ value });
}
render() {

View File

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

View File

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

View File

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

View File

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