|
@@ -59,7 +59,7 @@ export default defineComponent({
|
|
|
type: 'MUSIC', //
|
|
|
name: '',
|
|
|
bookVersionId: null,
|
|
|
- subjectId: prepareStore.getSubjectId,
|
|
|
+ subjectId: null,
|
|
|
sourceType: formatType(type.value),
|
|
|
musicalInstrumentId: null as any,
|
|
|
enableFlag: true
|
|
@@ -175,13 +175,13 @@ export default defineComponent({
|
|
|
onMounted(async () => {
|
|
|
// 获取声部
|
|
|
await catchStore.getSubjects();
|
|
|
- catchStore.getSubjectInstruments.forEach((item: any) => {
|
|
|
- if (item.id == prepareStore.getSubjectId) {
|
|
|
- if (item.instruments && item.instruments.length > 0) {
|
|
|
- state.searchGroup.musicalInstrumentId = item.instruments[0].value;
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
+ // catchStore.getSubjectInstruments.forEach((item: any) => {
|
|
|
+ // if (item.id == prepareStore.getSubjectId) {
|
|
|
+ // if (item.instruments && item.instruments.length > 0) {
|
|
|
+ // state.searchGroup.musicalInstrumentId = item.instruments[0].value;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // });
|
|
|
|
|
|
getList();
|
|
|
|