Sfoglia il codice sorgente

🐞 fix: 提示问题

wolyshaw 3 anni fa
parent
commit
acef72e35f
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

@@ -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(