浏览代码

Merge branch 'main' of https://github.com/kholid060/automa into dev

Ahmad Kholid 3 年之前
父节点
当前提交
eef0bf0a6b
共有 2 个文件被更改,包括 7 次插入2 次删除
  1. 1 1
      package.json
  2. 6 1
      src/utils/shared.js

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "automa",
-  "version": "1.6.6",
+  "version": "1.6.7",
   "description": "An extension for automating your browser by connecting blocks",
   "license": "MIT",
   "repository": {

+ 6 - 1
src/utils/shared.js

@@ -621,7 +621,12 @@ export const tasks = {
     outputs: 1,
     allowedInputs: true,
     maxConnection: 1,
-    refDataKeys: ['loopData'],
+    refDataKeys: [
+      'loopData',
+      'variableName',
+      'referenceKey',
+      'elementSelector',
+    ],
     data: {
       loopId: '',
       maxLoop: 0,