lex преди 1 година
родител
ревизия
09d01e995c
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  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,