|
@@ -597,7 +597,8 @@ export default defineComponent({
|
|
|
playAction.listenLock = true; // 锁
|
|
|
playAction.listenTipsStatus = true;
|
|
|
// 设置并保存示例数据
|
|
|
- let randomIndex = Math.floor(Math.random() * data.notes.length);
|
|
|
+ let randomIndex = data.notes.findIndex((item: any) => item.realKey === 67); // Math.floor(Math.random() * data.notes.length);
|
|
|
+
|
|
|
playAction.exampleAnser = data.notes[randomIndex];
|
|
|
data.realKey = playAction.exampleAnser.realKey;
|
|
|
scrollAnswer(playAction.exampleAnser.realKey);
|