set wristband status refresh default on

This commit is contained in:
Jay 2017-04-27 11:34:32 +08:00
parent b3e752792d
commit 08dcdf08ae

View File

@ -10,7 +10,7 @@ const sort_icon = {
class LocStatus extends React.Component{ class LocStatus extends React.Component{
state = { state = {
autoRefresh: false, autoRefresh: true,
list: [], list: [],
sort: { sort: {
field: '', field: '',
@ -21,6 +21,7 @@ class LocStatus extends React.Component{
componentDidMount(){ componentDidMount(){
this.getList(); this.getList();
this.checkRefresh();
} }
componentWillUnmount(){ componentWillUnmount(){