add modbus preview page
This commit is contained in:
1 parent
64ad807310
commit
e5bf72435c
7 files changed
+5756
-5424
No files matched your search
@@ -47,7 +47,12 @@ class LocStatusWloc extends React.Component {
|
||||
getStatus = () => {
|
||||
let {toggleLoading, showDialog} = this.props;
|
||||
|
||||
fetch('/api/wristband/getstatus', getRequest())
|
||||
fetch('/api/wristband/getstatus', getRequest({
|
||||
sort: {
|
||||
field: 'time',
|
||||
order: 'desc'
|
||||
}
|
||||
}))
|
||||
.then(response=>response.json())
|
||||
.then(json => {
|
||||
if(json.status != 1) return showDialog(json.message);
|
||||
|
||||
Reference in new issue
Block a user