修复告警定位无效坐标处理
This commit is contained in:
@@ -56,9 +56,7 @@ function formatOptionalNumber(value?: number | null, digits = 1): string | null
|
||||
function getLocationAddress(point: DeviceLocation | DeviceTrajectoryPoint): string {
|
||||
const address = String(point.address || '').trim()
|
||||
if (address) return address
|
||||
if (point.address_resolve_status === 0) return '地点解析中'
|
||||
if (point.address_resolve_status === 2) return '地点暂时无法解析'
|
||||
return '当前地点未知'
|
||||
return '地址解析中'
|
||||
}
|
||||
|
||||
function buildLocationDetailLines(
|
||||
|
||||
Reference in New Issue
Block a user