lex 2 年之前
父節點
當前提交
e7599f787a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/teacher/music/upload/index.tsx

+ 2 - 2
src/teacher/music/upload/index.tsx

@@ -243,8 +243,8 @@ export default defineComponent({
         hasBeat: this.hasBeat,
         accompanimentType: this.accompanimentType,
         titleImg: this.titleImg,
-        // url: this.hasBeat ? '' : this.mp3Url,
-        // metronomeUrl: this.hasBeat ? this.mp3Url : '',
+        url: this.hasBeat ? '' : this.mp3Url,
+        metronomeUrl: this.hasBeat ? this.mp3Url : '',
         audioFileUrl: this.mp3Url,
         showFingering: Number(this.showFingering),
         musicTag: this.tags.join(','),