Browse Source

点击元素拖动无效bug修复

naibo 1 year ago
parent
commit
7edb1ec628
1 changed files with 6 additions and 1 deletions
  1. 6 1
      ElectronJS/src/taskGrid/FlowChart.js

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

@@ -438,7 +438,12 @@ function toolBoxKernel(e, para = null) {
                 title = LANG("移动到", "Move to ");
                 l = 5;
             }
-            content = para["content"];
+            try {
+                content = para["content"];
+            } catch{
+                content = LANG("元素", " Element");
+            }
+
             let str = content.trim();
             if (str == "") {
                 title += LANG("元素", "Element");