wolyshaw преди 3 години
родител
ревизия
acef72e35f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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(