feat: 添加get_current_page节点

This commit is contained in:
zhanghao 2026-03-18 17:18:26 +08:00
parent 0cf40092bd
commit 3227aef1af

View File

@ -447,6 +447,18 @@ export const collapseList = [
{ name: 'voice', type: "input", input: "", componentType: 'select', selectOptions: voiceOptions(), disabled: true }, { name: 'voice', type: "input", input: "", componentType: 'select', selectOptions: voiceOptions(), disabled: true },
{ name: 'volume', type: "input", input: "", componentType: 'number', max: 100, disabled: true } { name: 'volume', type: "input", input: "", componentType: 'number', max: 100, disabled: true }
] ]
}, {
icon: dialogueSvg,
name: "获取当前页面名称",
type: "serviceNode",
desc: "获取当前页面名称",
action: 'GET_CURRENT_PAGE',
nodeType: "LLM",
outputType: 'json',
nodeParams: [
{ name: 'url', type: "input", input: "", disabled: true },
],
outputParams: [{ name: 'pageName', type: 'string', desc: '当前页面名称', disabled: true}]
} }
], ],
}, },