set wristband status refresh default on

This commit is contained in:
Jay 2017-04-27 13:18:27 +08:00
parent cf66e9d94e
commit fec43a6840

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(){