Browse Source

Merge branch 'master' of http://git.dayaedu.com/lex/h5-colexiu

lex-xin 3 years ago
parent
commit
b8853bbfae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/teacher/music/upload/index.tsx

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

@@ -228,7 +228,7 @@ export default defineComponent({
       this.xmlFileLoading = true
       postMessage({ api: 'chooseFile', content: { type: 'xml' } }, evt => {
         // @ts-ignore
-        this.xmlFileUrl = evt?.fileUrl || this.this.xmlFileUrl || ''
+        this.xmlFileUrl = evt?.fileUrl || this.xmlFileUrl || ''
         this.xmlFileLoading = false
         if (this.xmlFileUrl) {
           requestOrigin(this.xmlFileUrl).then(
@@ -417,7 +417,7 @@ export default defineComponent({
                           icon={UploadIcon}
                           class={styles.upbtn}
                           onClick={this.naiveBGMp3File}
-                          loading={this.mp3Loading}
+                          loading={this.bgmp3Loading}
                         >
                           {this.bgmp3Url
                             ? this.fileName(this.bgmp3Url)