Files
Nexus/docs/changelog/2026-06-12-watch-slot-metrics-pending-ui.md
T

21 lines
628 B
Markdown
Raw Normal View History

# 监测槽:等待探针回传占位 UI
**日期**: 2026-06-12
## 变更摘要
开启实时监测后、首次探针尚未返回时,槽卡显示「等待服务器回传信息…」与加载动画;收到 `probe_status` 后自动切换为 CPU/内存/硬盘等指标。
## 动机
避免开关打开后空白进度条与「—」,明确告知用户正在轮询。
## 涉及文件
- `frontend/src/components/watch/WatchSlotCard.vue`
- `frontend/src/utils/watchFormat.ts``isWatchMetricsPending`
## 验证
`cd frontend && npm run type-check`;浏览器开监测见等待态,约 5–15s 后自动出现指标。