Skip to content

Commit c3ddf24

Browse files
committed
fix: update form_data binding to use with_filter_type in index.vue
1 parent a70e27b commit c3ddf24

File tree

1 file changed

+3
-1
lines changed
  • ui/src/workflow/nodes/document-split-node

1 file changed

+3
-1
lines changed

ui/src/workflow/nodes/document-split-node/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
<AppIcon iconName="app-warning" class="app-warning-icon"></AppIcon>
186186
</el-tooltip>
187187
</div>
188-
<el-select v-model="form_data.limit_type" size="small" style="width: 85px">
188+
<el-select v-model="form_data.with_filter_type" size="small" style="width: 85px">
189189
<el-option :label="$t('workflow.variable.Referencing')" value="referencing" />
190190
<el-option :label="$t('common.custom')" value="custom" />
191191
</el-select>
@@ -338,6 +338,7 @@ const nodeCascaderRef3 = ref()
338338
const nodeCascaderRef4 = ref()
339339
const nodeCascaderRef5 = ref()
340340
const nodeCascaderRef6 = ref()
341+
const nodeCascaderRef7 = ref()
341342
342343
const validate = () => {
343344
return Promise.all([
@@ -347,6 +348,7 @@ const validate = () => {
347348
nodeCascaderRef4.value ? nodeCascaderRef4.value.validate() : Promise.resolve(''),
348349
nodeCascaderRef5.value ? nodeCascaderRef5.value.validate() : Promise.resolve(''),
349350
nodeCascaderRef6.value ? nodeCascaderRef6.value.validate() : Promise.resolve(''),
351+
nodeCascaderRef7.value ? nodeCascaderRef7.value.validate() : Promise.resolve(''),
350352
aiChatNodeFormRef.value?.validate(),
351353
]).catch((err: any) => {
352354
return Promise.reject({ node: props.nodeModel, errMessage: err })

0 commit comments

Comments
 (0)