hbchen 7 miesięcy temu
rodzic
commit
5b3707bb77

+ 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){