diff --git a/src/views/AdminView.vue b/src/views/AdminView.vue index 9bdbfe0..8def7ab 100644 --- a/src/views/AdminView.vue +++ b/src/views/AdminView.vue @@ -892,10 +892,12 @@ async function testMbe() { if (contentType.includes('application/json')) { // JSON 格式响应 const json = await resp.json() - isHealthy = json.status === 'ok' || json.status === 'OK' + isHealthy = json.status === 'ok' || json.status === 'OK' || json.status === 'healthy' mbeInfo.value = { - version: json.version || 'MarkBaseEngine', - uptime: json.uptime || 0 + version: json.model ? `MBE (${json.model})` : 'MarkBaseEngine', + uptime: json.uptime || 0, + model: json.model || null, + layers: json.layers || null } } else { // 纯文本格式响应