mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 12:38:58 +08:00
fix lint
This commit is contained in:
parent
c30878d38f
commit
d19453c4c3
@ -23,7 +23,7 @@ class AsyncMention extends React.Component {
|
|||||||
suggestions: [],
|
suggestions: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
}
|
}
|
||||||
fetchSuggestions(value, callback) {
|
fetchSuggestions = (value, callback) => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
callback(users.filter(item => item.indexOf(value) !== -1));
|
callback(users.filter(item => item.indexOf(value) !== -1));
|
||||||
}, 500);
|
}, 500);
|
||||||
|
@ -20,7 +20,7 @@ class App extends React.Component {
|
|||||||
state = {
|
state = {
|
||||||
visible: false,
|
visible: false,
|
||||||
condition: true, // Whether meet the condition, if not show popconfirm.
|
condition: true, // Whether meet the condition, if not show popconfirm.
|
||||||
},
|
}
|
||||||
changeCondition = (value) => {
|
changeCondition = (value) => {
|
||||||
this.setState({ condition: value });
|
this.setState({ condition: value });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user