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,
|
value: undefined,
|
||||||
}
|
}
|
||||||
onChange = (value) => {
|
onChange = (value) => {
|
||||||
console.log(arguments);
|
|
||||||
this.setState({ value });
|
this.setState({ value });
|
||||||
}
|
}
|
||||||
render() {
|
render() {
|
||||||
|
@ -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() {
|
||||||
|
@ -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() {
|
||||||
|
@ -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() {
|
||||||
|
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user