Browse Source

Update music-operationV2.tsx

lex 11 months ago
parent
commit
1b1b4da212
1 changed files with 5 additions and 8 deletions
  1. 5 8
      src/views/music-library/music-sheet/modal/music-operationV2.tsx

+ 5 - 8
src/views/music-library/music-sheet/modal/music-operationV2.tsx

@@ -553,11 +553,11 @@ export default defineComponent({
           }
 
           // 生成图片
-          // if (!state.isAutoSave) {
-          //   state.isAutoSave = true
-          //   state.productOpen = true
-          //   return
-          // }
+          if (!state.isAutoSave) {
+            state.isAutoSave = true
+            state.productOpen = true
+            return
+          }
 
           if (state.bSongFile) {
             forms.musicSheetAccompanimentList.push({
@@ -636,9 +636,6 @@ export default defineComponent({
             obj.musicSheetSoundList = []
           }
 
-          console.log(obj, 'obj')
-          return
-
           btnLoading.value = true
           if (props.type === 'add') {
             await musicSheetSave(obj)