diff --git a/ElectronJS/src/taskGrid/FlowChart.html b/ElectronJS/src/taskGrid/FlowChart.html index 2c301e4..4f08ebc 100644 --- a/ElectronJS/src/taskGrid/FlowChart.html +++ b/ElectronJS/src/taskGrid/FlowChart.html @@ -528,7 +528,7 @@ - + diff --git a/ElectronJS/src/taskGrid/FlowChart.js b/ElectronJS/src/taskGrid/FlowChart.js index 13e8aa5..c0971f5 100644 --- a/ElectronJS/src/taskGrid/FlowChart.js +++ b/ElectronJS/src/taskGrid/FlowChart.js @@ -69,6 +69,12 @@ let app = new Vue({ } } }, + nowNode:{ + deep:true, + handler: function(newVal, oldVal) { + updateUI(); + } + }, loopType: { //循环类型发生变化的时候更新参数值 handler: function(newVal, oldVal) { this.nowNode["parameters"]["loopType"] = newVal; @@ -92,6 +98,11 @@ let app = new Vue({ codeMode: { handler: function(newVal, oldVal) { this.nowNode["parameters"]["codeMode"] = newVal; + if(newVal == 3){ + this.nowNode["title"] = LANG("退出循环", "Exit Loop"); + } else { + this.nowNode["title"] = LANG("自定义操作", "Custom Operation"); + } } } }, diff --git a/ElectronJS/src/taskGrid/FlowChart_CN.html b/ElectronJS/src/taskGrid/FlowChart_CN.html index d6a82fd..231ccd0 100644 --- a/ElectronJS/src/taskGrid/FlowChart_CN.html +++ b/ElectronJS/src/taskGrid/FlowChart_CN.html @@ -528,7 +528,7 @@ - +