diff --git a/web/eslint.config.js b/web/eslint.config.js index 48de4ccb..d01bd862 100644 --- a/web/eslint.config.js +++ b/web/eslint.config.js @@ -19,8 +19,8 @@ export default defineConfig([ ecmaVersion: 2020, globals: globals.browser, }, - linterOptions: { - 'eslint@typescript-eslint/no-explicit-any': false + rules: { + '@typescript-eslint/no-explicit-any': false } }, ]) diff --git a/web/src/views/Workflow/components/SingleNodeRun/index.tsx b/web/src/views/Workflow/components/SingleNodeRun/index.tsx index cc519515..fbb34895 100644 --- a/web/src/views/Workflow/components/SingleNodeRun/index.tsx +++ b/web/src/views/Workflow/components/SingleNodeRun/index.tsx @@ -1,8 +1,8 @@ /* * @Author: ZhaoYing * @Date: 2026-05-07 18:37:31 - * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-05-07 18:37:31 + * @Last Modified by: ZhaoYing + * @Last Modified time: 2026-05-07 18:51:58 */ import { type FC, useState, useEffect } from 'react' import { useTranslation } from 'react-i18next' @@ -148,8 +148,6 @@ const SingleNodeRun: FC = ({ open, onClose, selectedNode, ap } }, [isAutoRun]) - console.log('isAutoRun', isAutoRun) - if (!open) return null return ( @@ -291,7 +289,7 @@ const SingleNodeRun: FC = ({ open, onClose, selectedNode, ap {/* Input / Output code blocks */} {result && (['inputs', 'process', 'outputs'] as const).map(key => { - if (nodeData.node_type !== 'http-request' && key === 'process') return null + if (nodeData.type !== 'http-request' && key === 'process') return null const content = typeof result[key as keyof RunResult] === 'object' && result[key as keyof RunResult] ? JSON.stringify(result[key as keyof RunResult], null, 2) : result[key as keyof RunResult] ? result[key as keyof RunResult] : '{}' return (