Files
Nexus/docs/audit/2026-06-13-watch-slot-paused-center-switch.md
2026-07-08 22:31:31 +08:00

30 lines
863 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 审计 — 监测槽暂停态居中开关
**Changelog**: `docs/changelog/2026-06-13-watch-slot-paused-center-switch.md`
## 审计范围
| 文件 | 变更 | 状态 |
|------|------|------|
| `WatchSlotCard.vue` | 暂停态居中开关、开启后才显示指标 | ☑ |
## Step 3 规则扫描
| H | 规则 | 结论 |
|---|------|------|
| H1 | 无新 API | SAFE — 仍 `emit('monitoring', …)` |
| H2 | 误触历史 | SAFE — 暂停态卡片主体不跳转,仅「历史」按钮 |
| H3 | 双开关冲突 | SAFE — 顶栏开关仅 `monitoringOn` 时显示;暂停仅中部开关开启 |
## Closure
| H | 判定 | 依据 |
|---|------|------|
| H1H3 | SAFE | 纯前端 `WatchSlotCard.vue` 模板分支 |
## DoD
- [x] changelog
- [x] `cd frontend && npx vite build`
- [ ] 生产浏览器终验:暂停槽中部开关 → 开启后见 CPU/内存