|
@@ -16,6 +16,8 @@ const handleRecord = () => {
|
|
|
recordData.starTime = Date.now();
|
|
|
if (total < 0) total = 0;
|
|
|
const totalTime = total / 1000;
|
|
|
+ // 练习时长不足1秒,不提交记录
|
|
|
+ if (totalTime < 1) return;
|
|
|
const rate = state.basePlayRate * state.originAudioPlayRate; // 播放倍率
|
|
|
// 如果是选段,则选选段开头小节的速度
|
|
|
const currentSpeed = state.sectionStatus && state.section.length === 2 && state.section[0].measureSpeed ? state.section[0].measureSpeed * state.basePlayRate : state.speed;
|