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

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

@@ -284,13 +284,13 @@ export default defineComponent({
           })
         }
       } catch (error) {}
-      this.submitLoading = false
 
       Toast('上传成功')
       setTimeout(() => {
         postMessage({
           api: 'back'
         })
+        this.submitLoading = false
       }, 800)
       console.log(vals)
     },