feat(platform): expose amap server readiness
This commit is contained in:
@@ -368,6 +368,12 @@ export function Realtime({
|
||||
color: amapConfigured ? 'green' as const : 'orange' as const,
|
||||
detail: amapConfigured ? '前端可加载高德 Web JS API。' : '缺少公开 Key,地图将使用坐标预览。'
|
||||
},
|
||||
{
|
||||
label: '服务端 API Key',
|
||||
value: runtime?.amapApiConfigured ? '已配置' : '未配置',
|
||||
color: runtime?.amapApiConfigured ? 'green' as const : 'orange' as const,
|
||||
detail: runtime?.amapApiConfigured ? '后端可支持地理编码、路线、围栏等服务端地图能力。' : '服务端地图能力未配置,后续地理服务会降级。'
|
||||
},
|
||||
{
|
||||
label: '安全代理',
|
||||
value: amapSecurityServiceHost || '未启用',
|
||||
|
||||
Reference in New Issue
Block a user