diff --git a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx index 1ba8927..5c465af 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx @@ -166,8 +166,8 @@ const CameraHeader = (props) => { dataIndex: "cameraAbility.type", key: "type", render: (_, r, index) => { - let manufactorName = data.find((item) => item.id == r.venderId); - return manufactorName ? manufactorName.name : ""; + let access = accessType.find((item) => item.key == r.type); + return access ? access.name : ""; }, }, { @@ -406,8 +406,13 @@ const CameraHeader = (props) => { placeholder="全部" showClear > -