mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 10:08:04 +08:00
refactor: 流程模板end round 切换为end
统一判断流程结束 流程节点类型统一用字符串表示
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
OpenNode: function (object) {
|
||||
FlowDesignObject = object; //为NodeInfo窗口提供调用
|
||||
|
||||
if (object.type == 'start round mix' || object.type == 'end round') {
|
||||
if (object.type == 'start' || object.type == 'end') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -60,7 +60,7 @@
|
||||
OpenNode: function (object) {
|
||||
FlowDesignObject = object; //为NodeInfo窗口提供调用
|
||||
|
||||
if (object.type == 'start round mix' || object.type == 'end round') {
|
||||
if (object.type == 'start' || object.type == 'end') {
|
||||
layer.msg("开始节点与结束节点不能设置");
|
||||
return false;
|
||||
}
|
||||
|
@@ -16,7 +16,7 @@
|
||||
OpenNode: function (object) {
|
||||
FlowDesignObject = object; //为NodeInfo窗口提供调用
|
||||
|
||||
if (object.type == 'start round mix' || object.type == 'end round') {
|
||||
if (object.type == 'start' || object.type == 'end') {
|
||||
layer.msg("开始节点与结束节点不能设置");
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user