mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
Remoove arguments, fix lint
This commit is contained in:
parent
9c78bfaee4
commit
125085398c
@ -22,7 +22,6 @@ class Demo extends React.Component {
|
||||
value: undefined,
|
||||
}
|
||||
onChange = (value) => {
|
||||
console.log(arguments);
|
||||
this.setState({ value });
|
||||
}
|
||||
render() {
|
||||
|
@ -50,7 +50,6 @@ class Demo extends React.Component {
|
||||
value: ['0-0-0'],
|
||||
}
|
||||
onChange = (value) => {
|
||||
console.log('onChange ', value, arguments);
|
||||
this.setState({ value });
|
||||
}
|
||||
render() {
|
||||
|
@ -22,7 +22,6 @@ class Demo extends React.Component {
|
||||
value: undefined,
|
||||
}
|
||||
onChange = (value) => {
|
||||
console.log(arguments);
|
||||
this.setState({ value });
|
||||
}
|
||||
render() {
|
||||
|
@ -41,7 +41,6 @@ class Demo extends React.Component {
|
||||
value: undefined,
|
||||
}
|
||||
onChange = (value) => {
|
||||
console.log(arguments);
|
||||
this.setState({ value });
|
||||
}
|
||||
render() {
|
||||
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user