hbchen hai 7 meses
pai
achega
5b3707bb77
Modificáronse 1 ficheiros con 11 adicións e 4 borrados
  1. 11 4
      src/views/semantics_manage/asr/components/transferStatus.vue

+ 11 - 4
src/views/semantics_manage/asr/components/transferStatus.vue

@@ -56,10 +56,17 @@ import { asrInterface } from '../../../../api/modules/semanticsApi'
         stateTextArr:['','转写中','转写完成','转写失败']
       }
     },
-    mounted(){
-      this.$nextTick(()=>{
-        this.dragDocument = $('#transfer-status-box')[0]
-      })
+    watch:{
+      windowShow:{
+        handler:function(value){
+          if(value){
+            this.$nextTick(()=>{
+              this.dragDocument = $('#transfer-status-box')[0]
+            })
+          }
+        },
+        immediate:true
+      }
     },
     methods: {
       deleteRow(item,index){