lex 2 anni fa
parent
commit
1009c13286
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/teacher/music/upload/index.tsx

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

@@ -243,7 +243,7 @@ export default defineComponent({
         audioType: this.audioType,
         sourceType: 'TEACHER',
         mp3Type,
-        hasBeat: this.hasBeat,
+        hasBeat: Number(this.hasBeat),
         accompanimentType: this.accompanimentType,
         titleImg: this.titleImg,
         url: this.hasBeat ? '' : this.mp3Url,