fix: 修复示波器停止捕获导致无法配置的问题,并取消示波器动画

This commit is contained in:
2025-07-22 02:41:07 +08:00
parent 912eb625f5
commit 6c5250f9c2
3 changed files with 15 additions and 10 deletions

View File

@@ -262,16 +262,11 @@ const [useProvideOscilloscope, useOscilloscopeState] = createInjectionState(() =
alert.success("测试数据生成成功", 2000);
};
const isOperationInProgress = computed(
() => isApplying.value || isCapturing.value || operationMutex.isLocked()
);
return {
oscData,
config,
isApplying,
isCapturing,
isOperationInProgress,
sampleCount,
samplePeriodNs,
refreshIntervalMs,