Explorar el Código

增加mounted

xuefy hace 3 años
padre
commit
f8f3cd4a2d
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      front-vue/src/views/approval/approval/deal.vue

+ 3 - 1
front-vue/src/views/approval/approval/deal.vue

@@ -24,7 +24,9 @@ export default {
         this.wordUrl = window.location.protocol+'//'+window.location.host+'/flowablePc/#/openDeal?instId='+ instId + '&processId=' + processId + '&nodeId=' + nodeId + '&taskId=' + taskId + '&token=' + getToken();
         // this.wordUrl = 'http://localhost:8080/flowablePc/#/openDeal?instId='+ instId + '&processId=' + processId + '&nodeId=' + nodeId + '&taskId=' + taskId + '&token' + getToken();
         this.iframeShow = true
-        window.goParent = this.goParent;
+    },
+    mounted(){
+         window.goParent = this.goParent;
     },
     methods:{
         goParent(){