fix(camera-card): reorganize commonInfo

This commit is contained in:
yangsy
2025-11-07 10:58:09 +08:00
parent 92a1561213
commit 5d7519773a

View File

@@ -37,8 +37,8 @@ const commonInfo = computed(() => {
onvifMajorIndex,
onvifMinorIndex,
icmpEnabled,
deviceType,
cameraType,
// deviceType,
// cameraType,
community,
//
} = ndmCamera.value;
@@ -46,15 +46,15 @@ const commonInfo = computed(() => {
创建时间: createdTime ?? '',
更新时间: updatedTime ?? '',
制造商: manufacturer ?? '',
GB28181使能: `${gb28181Enabled !== undefined ? gb28181Enabled : ''}`,
GB28181使能: `${!!gb28181Enabled ? '是' : ''}`,
ONVIF端口: `${onvifPort ?? ''}`,
ONVIF用户名: onvifUsername ?? '',
ONVIF密码: onvifPassword ?? '',
ONVIF主流索引: `${onvifMajorIndex ?? ''}`,
ONVIF辅流索引: `${onvifMinorIndex ?? ''}`,
ICMP使能: `${icmpEnabled !== undefined ? icmpEnabled : ''}`,
设备类型: deviceType ?? '',
相机类型: cameraType ?? '',
ICMP使能: `${!!icmpEnabled ? '是' : ''}`,
// 设备类型: deviceType ?? '',
// 相机类型: cameraType ?? '',
团体字符串: community ?? '',
};
});