From a8f7b63cacacdf5b913f0bedf7a5e5e2dbafcfe3 Mon Sep 17 00:00:00 2001 From: wenlele Date: Wed, 27 Apr 2022 10:53:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../equipmentWarehouse/containers/nvr.jsx | 75 +++++++++++++------ 1 file changed, 51 insertions(+), 24 deletions(-) diff --git a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/nvr.jsx b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/nvr.jsx index 7184c2b..89c660f 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/nvr.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/nvr.jsx @@ -3,32 +3,59 @@ import { connect } from "react-redux"; import { Card } from "@douyinfe/semi-ui"; import "../style.less"; -const NvrHeader = (props) =>{ - const { dispatch, actions, user, loading } = props - return( - <> -
-
NVR管理
-
对NVR(网络硬盘录像机)设备节点的管理
-
- 添加NVR -
+const NvrHeader = (props) => { + const { dispatch, actions, user, loading } = props; + return ( + <> +
+
+ NVR管理
- - - - ) -} - +
+ 对NVR(网络硬盘录像机)设备节点的管理 +
+
+ 添加NVR +
+
+ + + ); +}; -function mapStateToProps (state) { - const { auth, global, members } = state; - return { - loading: members.isRequesting, - user: auth.user, - actions: global.actions, - members: members.data - }; +function mapStateToProps(state) { + const { auth, global, members } = state; + return { + loading: members.isRequesting, + user: auth.user, + actions: global.actions, + members: members.data, + }; } export default connect(mapStateToProps)(NvrHeader);