瀏覽代碼

Remove limitation of parameter name

naibo 2 年之前
父節點
當前提交
b9f640f7ce

文件差異過大導致無法顯示
+ 0 - 0
.temp_to_pub/EasySpider_windows_x64/execution_instances/34.json


文件差異過大導致無法顯示
+ 0 - 0
.temp_to_pub/EasySpider_windows_x64/execution_instances/35.json


文件差異過大導致無法顯示
+ 0 - 0
.temp_to_pub/EasySpider_windows_x64/tasks/47.json


+ 8 - 8
ElectronJS/src/taskGrid/logic.js

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

+ 8 - 8
ElectronJS/src/taskGrid/logic_CN.js

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

部分文件因文件數量過多而無法顯示