Ver código fonte

增加mounted

xuefy 3 anos atrás
pai
commit
f8f3cd4a2d
1 arquivos alterados com 3 adições e 1 exclusões
  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(){