Parcourir la source

Merge branch 'iteration-20231220'

lex il y a 1 an
Parent
commit
6b1f55125e
1 fichiers modifiés avec 6 ajouts et 5 suppressions
  1. 6 5
      src/pc/component/upload-to-resources/index.tsx

+ 6 - 5
src/pc/component/upload-to-resources/index.tsx

@@ -223,13 +223,14 @@ export default defineComponent({
       if (!props.item.filePath) {
         const url = await productWav(false);
         props.item.filePath = url;
-        await api_musicSheetCreationUpdate({
-          id: props.item.id,
-          subjectId: froms.subjectId,
-          filePath: props.item.filePath,
-        });
       }
 
+      await api_musicSheetCreationUpdate({
+        id: props.item.id,
+        subjectId: froms.subjectId,
+        filePath: props.item.filePath,
+      });
+
       await wav2mp3();
       model.saveProgress = 70;
       if (!props.show) return;