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