mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
fix: Front-end error
This commit is contained in:
parent
c46b7ab094
commit
b07641cf66
|
|
@ -243,7 +243,6 @@ function onmousedown(item: any, data?: any, type?: string) {
|
|||
}
|
||||
}
|
||||
}
|
||||
console.log('xx', item)
|
||||
props.workflowRef?.onmousedown(item)
|
||||
emit('onmousedown', item)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -214,8 +214,8 @@ const update_field = () => {
|
|||
if (find_field) {
|
||||
return {
|
||||
...item,
|
||||
default_value: JSON.parse(JSON.stringify(find_field.default_value)),
|
||||
value: JSON.parse(JSON.stringify(find_field.value)),
|
||||
default_value: find_field.default_value,
|
||||
value: find_field.value,
|
||||
label:
|
||||
typeof item.label === 'object' && item.label != null ? item.label.label : item.label
|
||||
}
|
||||
|
|
@ -235,8 +235,8 @@ const update_field = () => {
|
|||
if (find_field) {
|
||||
return {
|
||||
...item,
|
||||
default_value: JSON.parse(JSON.stringify(find_field.default_value)),
|
||||
value: JSON.parse(JSON.stringify(find_field.value)),
|
||||
default_value: find_field.default_value,
|
||||
value: find_field.value,
|
||||
label:
|
||||
typeof item.label === 'object' && item.label != null ? item.label.label : item.label
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue