Remove limitation of parameter name

This commit is contained in:
naibo 2023-06-28 19:27:48 +08:00
parent 04442a13fe
commit b9f640f7ce
5 changed files with 19 additions and 16 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -373,14 +373,14 @@ function saveService(type) {
if (nodeList[i]["parameters"]["recordASField"] == 1) { if (nodeList[i]["parameters"]["recordASField"] == 1) {
let id = outputIndex++; let id = outputIndex++;
let title = nodeList[i]["title"]; let title = nodeList[i]["title"];
if (outputNames.indexOf(title) >= 0) { //参数名称已经被添加 // if (outputNames.indexOf(title) >= 0) { //参数名称已经被添加
$('#myModal').modal('hide'); // $('#myModal').modal('hide');
$("#tip2").slideDown(); //提示框 // $("#tip2").slideDown(); //提示框
fadeout = setTimeout(function() { // fadeout = setTimeout(function() {
$("#tip2").slideUp(); // $("#tip2").slideUp();
}, 5000); // }, 5000);
return; // return;
} // }
outputNames.push(title); outputNames.push(title);
outputParameters.push({ outputParameters.push({
id: id, id: id,

View File

@ -373,14 +373,14 @@ function saveService(type) {
if (nodeList[i]["parameters"]["recordASField"] == 1) { if (nodeList[i]["parameters"]["recordASField"] == 1) {
let id = outputIndex++; let id = outputIndex++;
let title = nodeList[i]["title"]; let title = nodeList[i]["title"];
if (outputNames.indexOf(title) >= 0) { //参数名称已经被添加 // if (outputNames.indexOf(title) >= 0) { //参数名称已经被添加
$('#myModal').modal('hide'); // $('#myModal').modal('hide');
$("#tip2").slideDown(); //提示框 // $("#tip2").slideDown(); //提示框
fadeout = setTimeout(function() { // fadeout = setTimeout(function() {
$("#tip2").slideUp(); // $("#tip2").slideUp();
}, 5000); // }, 5000);
return; // return;
} // }
outputNames.push(title); outputNames.push(title);
outputParameters.push({ outputParameters.push({
id: id, id: id,