Преглед изворни кода

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

lex-xin пре 3 година
родитељ
комит
b8853bbfae
1 измењених фајлова са 2 додато и 2 уклоњено
  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
       this.xmlFileLoading = true
       postMessage({ api: 'chooseFile', content: { type: 'xml' } }, evt => {
       postMessage({ api: 'chooseFile', content: { type: 'xml' } }, evt => {
         // @ts-ignore
         // @ts-ignore
-        this.xmlFileUrl = evt?.fileUrl || this.this.xmlFileUrl || ''
+        this.xmlFileUrl = evt?.fileUrl || this.xmlFileUrl || ''
         this.xmlFileLoading = false
         this.xmlFileLoading = false
         if (this.xmlFileUrl) {
         if (this.xmlFileUrl) {
           requestOrigin(this.xmlFileUrl).then(
           requestOrigin(this.xmlFileUrl).then(
@@ -417,7 +417,7 @@ export default defineComponent({
                           icon={UploadIcon}
                           icon={UploadIcon}
                           class={styles.upbtn}
                           class={styles.upbtn}
                           onClick={this.naiveBGMp3File}
                           onClick={this.naiveBGMp3File}
-                          loading={this.mp3Loading}
+                          loading={this.bgmp3Loading}
                         >
                         >
                           {this.bgmp3Url
                           {this.bgmp3Url
                             ? this.fileName(this.bgmp3Url)
                             ? this.fileName(this.bgmp3Url)