set wristband status refresh default on

This commit is contained in:
root committed 2017-04-27 11:34:32 +08:00
1 parent b3e752792d
commit 08dcdf08ae
1 file changed
+2 -1
@@ -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(){