feat: 单节点启动
This commit is contained in:
parent
3be16102a3
commit
a3b014f648
@ -292,6 +292,7 @@ export const collapseList = [
|
|||||||
type: "http",
|
type: "http",
|
||||||
desc: "HTTP请求",
|
desc: "HTTP请求",
|
||||||
action: 'HTTP',
|
action: 'HTTP',
|
||||||
|
nodeType: 'HTTP',
|
||||||
nodeParams: [
|
nodeParams: [
|
||||||
{ name: "config", type: "input", input: "", children: [
|
{ name: "config", type: "input", input: "", children: [
|
||||||
{ name: "url", type: "input", input: "", disabled: true, required: true },
|
{ name: "url", type: "input", input: "", disabled: true, required: true },
|
||||||
@ -346,7 +347,6 @@ function handler(params) {
|
|||||||
type: "currentLoop",
|
type: "currentLoop",
|
||||||
desc: "获取当前循环对象",
|
desc: "获取当前循环对象",
|
||||||
action: 'GET_CURRENT_OBJECT',
|
action: 'GET_CURRENT_OBJECT',
|
||||||
nodeType: 'getCurrentObject',
|
|
||||||
nodeParams: [
|
nodeParams: [
|
||||||
{ name: "array", type: "input", input: "" }
|
{ name: "array", type: "input", input: "" }
|
||||||
],
|
],
|
||||||
|
|||||||
@ -669,6 +669,8 @@ const group = () => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (children.length === 0) {
|
if (children.length === 0) {
|
||||||
|
lf.clearSelectElements();
|
||||||
|
lf.extension.selectionSelect.closeSelectionSelect();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let width = maxX - minX + PADDING;
|
let width = maxX - minX + PADDING;
|
||||||
|
|||||||
@ -24,6 +24,7 @@
|
|||||||
:nodeId="props.model.id"
|
:nodeId="props.model.id"
|
||||||
:nodeProperties="props.properties"
|
:nodeProperties="props.properties"
|
||||||
:nodeName="props.properties.name"
|
:nodeName="props.properties.name"
|
||||||
|
:nodeType="props.properties.nodeType || 'NONE'"
|
||||||
:nodeDesc="props.properties.desc"
|
:nodeDesc="props.properties.desc"
|
||||||
:zoom-state="nodeZoom"
|
:zoom-state="nodeZoom"
|
||||||
@zoom="zoom"
|
@zoom="zoom"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user