Explorar el Código

前端取消流程结束生成快照及修改数据状态逻辑

cfort hace 2 años
padre
commit
d270f73d2d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/business/platform/bpmn/form/action.js

+ 2 - 2
src/business/platform/bpmn/form/action.js

@@ -234,7 +234,7 @@ export default {
                     showClose: false
                 }).then(() => {
                     const { bizKey = '', proInstId = '' } = response.variables || {}
-                    this.createSnapshot(bizKey, proInstId)
+                    // this.createSnapshot(bizKey, proInstId)
                     this.startFlowDialogVisible = false
                     // 后置事件
                     this.afterScript(this.actionName, {
@@ -373,7 +373,7 @@ export default {
                     this.rejectDialogVisible = false
                 }
                 if (actionName === 'agree') {
-                    this.createSnapshot()
+                    // this.createSnapshot()
                 }
                 // 后置事件
                 this.afterScript(this.actionName, {