🔀 refactor(parameterComponent): remove unused properties from default parameter value object to improve code readability and maintainability
This commit is contained in:
parent
fe92ce85f9
commit
c9126fdb62
1 changed files with 1 additions and 5 deletions
|
|
@ -374,14 +374,10 @@ export default function ParameterComponent({
|
|||
value={
|
||||
data.node!.template[name].value ?? {
|
||||
arr: ["test", 123456, false, null],
|
||||
boolean: false,
|
||||
number: 123456,
|
||||
try: {
|
||||
k1: 123,
|
||||
k2: "123",
|
||||
k3: false,
|
||||
},
|
||||
string: "string",
|
||||
yourkey: "value",
|
||||
}
|
||||
}
|
||||
onChange={(newValue) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue