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);