This commit is contained in:
afc163 2017-02-20 22:21:14 +08:00
parent c30878d38f
commit d19453c4c3
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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 });
}