Browse Source

fix bpmn bug

xyh123999 1 year ago
parent
commit
269de7d74f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/components/workflow/formTaskProcessViewer.vue

+ 2 - 0
src/components/workflow/formTaskProcessViewer.vue

@@ -34,6 +34,7 @@ export default {
   },
   },
   methods: {
   methods: {
     async getTaskHighlightData () {
     async getTaskHighlightData () {
+      this.finishedInfo = undefined;
       if (this.processInstanceId == null || this.processInstanceId === '') {
       if (this.processInstanceId == null || this.processInstanceId === '') {
         return;
         return;
       }
       }
@@ -49,6 +50,7 @@ export default {
       // }).catch(e => {});
       // }).catch(e => {});
     },
     },
    async getTaskProcessXml () {
    async getTaskProcessXml () {
+    this.taskProcessXml = undefined;
       let params = {
       let params = {
         processDefinitionId: this.processDefinitionId
         processDefinitionId: this.processDefinitionId
       }
       }