瀏覽代碼

fix: in iteration node picker may show the wrong var type (#5435)

Joel 10 月之前
父節點
當前提交
7e3f194031
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      web/app/components/workflow/nodes/_base/components/variable/utils.ts

+ 0 - 2
web/app/components/workflow/nodes/_base/components/variable/utils.ts

@@ -344,8 +344,6 @@ export const getVarType = ({
     }
     if (valueSelector[1] === 'index')
       return VarType.number
-
-    return VarType.string
   }
   const isSystem = isSystemVar(valueSelector)
   const startNode = availableNodes.find((node: any) => {