From fec43a68408b41bbee5bcaa998fae75d55f6bf8a Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 27 Apr 2017 13:18:27 +0800 Subject: [PATCH] set wristband status refresh default on --- src/components/AdminPage/Wristband/LocStatus/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(){