diff --git a/src/components/AdminPage/Wristband/LocStatus/index.js b/src/components/AdminPage/Wristband/LocStatus/index.js index 03fa382..cb435b3 100644 --- a/src/components/AdminPage/Wristband/LocStatus/index.js +++ b/src/components/AdminPage/Wristband/LocStatus/index.js @@ -10,7 +10,7 @@ const sort_icon = { class LocStatus extends React.Component{ state = { - autoRefresh: false, + autoRefresh: true, list: [], sort: { field: '', @@ -21,6 +21,7 @@ class LocStatus extends React.Component{ componentDidMount(){ this.getList(); + this.checkRefresh(); } componentWillUnmount(){