feat: 被动轮询间隔改为 3 秒 + 新增 B2 记录条数显示

- 数据轮询独立于设备状态刷新:refreshLatestData 每 3 秒,refreshAll 每 5 秒
- 「当前测试数据」标题旁显示新记录条数 (x 条新记录)
- 仅 B2(灵敏度测试) 新记录计数,页面加载/自动化开始时复位
- pollProgress 同步更新计数器,自动化与被动模式无冲突
This commit is contained in:
wangfq
2026-06-12 11:10:09 +08:00
parent 366c7f909a
commit 0dfb928375
2 changed files with 27 additions and 4 deletions

View File

@@ -89,7 +89,7 @@
<!-- 右侧:测试信息显示区 -->
<div class="test-info">
<h3>当前测试数据</h3>
<h3>当前测试数据 <span id="new-record-count" style="font-size:12px;color:#888;font-weight:normal;margin-left:8px;"></span></h3>
<div id="latest-result">
<p class="placeholder">等待设备上报...</p>
</div>