mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Fix form node drag-and-drop issues
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
This commit is contained in:
parent
a0dc4c0648
commit
f1d7079605
|
|
@ -13,7 +13,7 @@
|
|||
:data="props.nodeModel.properties.api_input_field_list"
|
||||
class="mb-16"
|
||||
ref="tableRef"
|
||||
row-key="field"
|
||||
row-key="variable"
|
||||
>
|
||||
<el-table-column prop="variable" :label="$t('dynamicsForm.paramForm.field.label')">
|
||||
<template #default="{ row }">
|
||||
|
|
|
|||
|
|
@ -189,6 +189,7 @@ const sync_form_field_list = () => {
|
|||
]
|
||||
set(props.nodeModel.properties.config, 'fields', fields)
|
||||
props.nodeModel.clear_next_node_field(false)
|
||||
onDragHandle()
|
||||
}
|
||||
const addFormCollectRef = ref<InstanceType<typeof AddFormCollect>>()
|
||||
const editFormCollectRef = ref<InstanceType<typeof EditFormCollect>>()
|
||||
|
|
@ -275,7 +276,6 @@ onMounted(() => {
|
|||
set(props.nodeModel, 'validate', validate)
|
||||
sync_form_field_list()
|
||||
props.nodeModel.graphModel.eventCenter.emit('refresh_incoming_node_field')
|
||||
onDragHandle()
|
||||
})
|
||||
</script>
|
||||
<style lang="scss" scoped></style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue