浏览代码

修复拖动元素option为字符串的bug

NaiboWang-Alienware 2 年之前
父节点
当前提交
132c4a0bf0
共有 4 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      ElectronJS/src/taskGrid/FlowChart.js
  2. 0 0
      ElectronJS/tasks/187.json
  3. 0 0
      ElectronJS/tasks/188.json
  4. 1 1
      ExecuteStage/.vscode/launch.json

+ 1 - 1
ElectronJS/src/taskGrid/FlowChart.js

@@ -569,7 +569,7 @@ function arrowDragEnd(e) {
 }
 
 function optionDragEnd(e) {
-    option = this.getAttribute("data");
+    option = parseInt(this.getAttribute("data"));
     toolBoxKernel.call(this, e);
     e.stopPropagation();
 }

文件差异内容过多而无法显示
+ 0 - 0
ElectronJS/tasks/187.json


文件差异内容过多而无法显示
+ 0 - 0
ElectronJS/tasks/188.json


+ 1 - 1
ExecuteStage/.vscode/launch.json

@@ -12,7 +12,7 @@
             "justMyCode": false,
             //  "args": ["--id", "[7]", "--read_type", "remote", "--headless", "0"]
             // "args": ["--id", "[9]", "--read_type", "remote", "--headless", "0", "--saved_file_name", "YOUTUBE"]
-            "args": ["--id", "[68]", "--headless", "0", "--user_data", "1", "--keyboard", "0"]
+            "args": ["--id", "[79]", "--headless", "0", "--user_data", "1", "--keyboard", "0"]
         }
     ]
 }

部分文件因为文件数量过多而无法显示