|
@@ -178,8 +178,6 @@ export default defineComponent({
|
|
|
state.track = track ? track.replace(/ /g, "").toLocaleLowerCase() : "";
|
|
|
state.enableNotation = data.notation ? true : false;
|
|
|
|
|
|
- // 映射声部ID
|
|
|
- state.subjectId = mappingVoicePart((state.track as any) || state.subjectId, "INSTRUMENT");
|
|
|
// console.log("🚀 ~ state.subjectId:", state.subjectId, state.track as any , state.subjectId)
|
|
|
// 是否打击乐
|
|
|
// state.isPercussion =
|
|
@@ -189,7 +187,8 @@ export default defineComponent({
|
|
|
// isRhythmicExercises();
|
|
|
|
|
|
// 设置指法
|
|
|
- state.fingeringInfo = subjectFingering(state.subjectId);
|
|
|
+ const subjectCode = mappingVoicePart(state.subjectId, "INSTRUMENT")
|
|
|
+ state.fingeringInfo = subjectFingering(subjectCode);
|
|
|
console.log("🚀 ~ state.fingeringInfo:", state.fingeringInfo, state.subjectId, state.track);
|
|
|
|
|
|
// 检测是否原音和伴奏都有
|