fix: 健康指标接口字段名修复
This commit is contained in:
@@ -32,7 +32,7 @@ onMounted(async () => {
|
||||
</div>
|
||||
<div class="metric-body">
|
||||
<span class="metric-type">{{ metricTypeLabel[m.metric_type] || '指标' }}</span>
|
||||
<span class="metric-time">{{ m.measured_at?.slice(0, 16) }}</span>
|
||||
<span class="metric-time">{{ m.recorded_at?.slice(0, 16) }}</span>
|
||||
</div>
|
||||
<span class="metric-val" :style="{ color: typeColor[m.metric_type] }">
|
||||
{{ m.value }} {{ metricUnit[m.metric_type] || '' }}
|
||||
|
||||
Reference in New Issue
Block a user