Ver código fonte

修复修改流程时间保存失败按钮名称未变更为修改的bug

shenqilong 1 ano atrás
pai
commit
4e37decfa6
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5 5
      src/business/platform/bpmn/form/index.vue

+ 5 - 5
src/business/platform/bpmn/form/index.vue

@@ -298,12 +298,12 @@ export default {
         },
         timeModification_: {
             handler: function (val, oldVal) {
-                if (val) {
-                    // this.readonly = false
-                    // console.log(this.readonly)
+                // if (val) {
+                // this.readonly = false
+                // console.log(this.readonly)
 
-                    this.buttons = this.buildButtons(this.responseData.buttons.slice(1, 4), this.attributes) || []
-                }
+                this.buttons = this.buildButtons(this.responseData.buttons.slice(1, 4), this.attributes) || []
+                // }
             }
 
         }