mirror of https://github.com/openspug/spug
chore(spug_web): improve code
parent
c0bf846f82
commit
275e028151
|
@ -56,6 +56,7 @@ class ComForm extends React.Component {
|
||||||
store.fetchRecords()
|
store.fetchRecords()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
.catch(() => null)
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
this.setState({loading: false});
|
this.setState({loading: false});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue