feat: 单节点启动

This commit is contained in:
zhanghao 2026-04-17 09:07:20 +08:00
parent 3be16102a3
commit a3b014f648
3 changed files with 4 additions and 1 deletions

View File

@ -292,6 +292,7 @@ export const collapseList = [
type: "http",
desc: "HTTP请求",
action: 'HTTP',
nodeType: 'HTTP',
nodeParams: [
{ name: "config", type: "input", input: "", children: [
{ name: "url", type: "input", input: "", disabled: true, required: true },
@ -346,7 +347,6 @@ function handler(params) {
type: "currentLoop",
desc: "获取当前循环对象",
action: 'GET_CURRENT_OBJECT',
nodeType: 'getCurrentObject',
nodeParams: [
{ name: "array", type: "input", input: "" }
],

View File

@ -669,6 +669,8 @@ const group = () => {
}
});
if (children.length === 0) {
lf.clearSelectElements();
lf.extension.selectionSelect.closeSelectionSelect();
return;
}
let width = maxX - minX + PADDING;

View File

@ -24,6 +24,7 @@
:nodeId="props.model.id"
:nodeProperties="props.properties"
:nodeName="props.properties.name"
:nodeType="props.properties.nodeType || 'NONE'"
:nodeDesc="props.properties.desc"
:zoom-state="nodeZoom"
@zoom="zoom"