测试
This commit is contained in:
parent
ed0c44ed6d
commit
4b7ce17883
@ -135,7 +135,7 @@
|
||||
|
||||
</div>
|
||||
<div class="gauge-group-box" style="justify-content: center;">
|
||||
<div class="gauge-group-box-text1">左最大:<span class="gauge-group-box-text2">{{
|
||||
<div class="gauge-group-box-text1">右最大:<span class="gauge-group-box-text2">{{
|
||||
headPoseMaxValues.rotationRightMax.toFixed(1) }}°</span></div>
|
||||
|
||||
</div>
|
||||
@ -163,7 +163,7 @@
|
||||
headPoseMaxValues.pitchDownMax.toFixed(1) }}°</span></div>
|
||||
</div>
|
||||
<div class="gauge-group-box" style="justify-content: center;">
|
||||
<div class="gauge-group-box-text1">俯最大:<span class="gauge-group-box-text2">{{
|
||||
<div class="gauge-group-box-text1">仰最大:<span class="gauge-group-box-text2">{{
|
||||
headPoseMaxValues.pitchUpMax.toFixed(1) }}°</span></div>
|
||||
</div>
|
||||
</div>
|
||||
@ -813,10 +813,10 @@ const startTimer = () => {
|
||||
// 转换为秒并四舍五入
|
||||
seconds.value = Math.round(elapsed / 1000);
|
||||
|
||||
// 检测时长超过10分钟(600秒)自动停止检测
|
||||
if (seconds.value >= 600) {
|
||||
console.log('⏰ 检测时长超过10分钟,自动停止检测');
|
||||
ElMessage.warning('检测时长已达到10分钟,自动停止检测');
|
||||
// 检测时长超过10分钟(1800秒)自动停止检测
|
||||
if (seconds.value >= 1800) {
|
||||
console.log('⏰ 检测时长超过30分钟,自动停止检测');
|
||||
ElMessage.warning('检测时长已达到30分钟,自动停止检测');
|
||||
stopRecord()
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user