From 08dcdf08ae6e65fe646f93cc4d2e18a3341999db Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 27 Apr 2017 11:34:32 +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(){