|
@@ -53,6 +53,7 @@ import icon_close from '../abnormal-pop/icon_close.svg'
|
|
import icon_btn from '../abnormal-pop/icon_btn.svg'
|
|
import icon_btn from '../abnormal-pop/icon_btn.svg'
|
|
import icon_success from '../abnormal-pop/icon_success.svg'
|
|
import icon_success from '../abnormal-pop/icon_success.svg'
|
|
import { data } from '../../page-instrument/custom-plugins/work-index'
|
|
import { data } from '../../page-instrument/custom-plugins/work-index'
|
|
|
|
+import { startCountdown } from "/src/page-instrument/evaluat-model/countdown"
|
|
|
|
|
|
const browserInfo = browser();
|
|
const browserInfo = browser();
|
|
|
|
|
|
@@ -363,6 +364,8 @@ export const handleStartBegin = async (preTimes?: number) => {
|
|
}
|
|
}
|
|
evaluatingData.startBegin = true;
|
|
evaluatingData.startBegin = true;
|
|
if (evaluatingData.isDisabledPlayMusic) {
|
|
if (evaluatingData.isDisabledPlayMusic) {
|
|
|
|
+ // 先播放倒计时
|
|
|
|
+ await startCountdown()
|
|
state.playState = state.playState === "paused" ? "play" : "paused";
|
|
state.playState = state.playState === "paused" ? "play" : "paused";
|
|
// 设置为开始播放时, 如果需要节拍,先播放节拍器
|
|
// 设置为开始播放时, 如果需要节拍,先播放节拍器
|
|
if (state.playState === "play" && (state.playType==="play"&&state.needTick)||(state.playType==="sing"&&state.needSingTick)) {
|
|
if (state.playState === "play" && (state.playType==="play"&&state.needTick)||(state.playType==="sing"&&state.needSingTick)) {
|