Explorar o código

Merge branch 'iteration-20231220'

lex hai 1 ano
pai
achega
6b1f55125e
Modificáronse 1 ficheiros con 6 adicións e 5 borrados
  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;