|
@@ -147,7 +147,7 @@ export const handleFollowStart = async () => {
|
|
|
}
|
|
|
};
|
|
|
/** 结束跟练 */
|
|
|
-export const handleFollowEnd = () => {
|
|
|
+export const handleFollowEnd = (handleType?: string) => {
|
|
|
onClear();
|
|
|
followData.start = false;
|
|
|
followData.practiceStart = false;
|
|
@@ -156,7 +156,7 @@ export const handleFollowEnd = () => {
|
|
|
followData.index = 0;
|
|
|
console.log("结束");
|
|
|
// 如果开启了循环播放,需要再次跟练
|
|
|
- if (state.setting.repeatAutoPlay) {
|
|
|
+ if (state.setting.repeatAutoPlay && handleType !== 'self') {
|
|
|
setTimeout(() => {
|
|
|
followData.practiceStart = true;
|
|
|
handleFollowStart();
|