Browse Source

Merge branch 'iteration-20240111'

lex 1 year ago
parent
commit
c6429c0cc6
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/pc/component/upload-to-resources/index.tsx

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

@@ -225,10 +225,10 @@ export default defineComponent({
     const handleSubmit = async () => {
       // 判断是否有wav文件,如果没有则生成保存
       console.log(props.item, "props.item");
-      if (!props.item.filePath) {
-        const url = await productWav(false);
-        props.item.filePath = url;
-      }
+      // if (!props.item.filePath) {
+      const url = await productWav(false);
+      props.item.filePath = url;
+      // }
 
       await api_musicSheetCreationUpdate({
         id: props.item.id,