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