File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
ui/src/views/document/component Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ const form = ref<any>({
132132 selector: ' ' ,
133133 hit_handling_method: ' optimization' ,
134134 directly_return_similarity: 0.9 ,
135- allow_download: false ,
135+ allow_download: true ,
136136})
137137
138138// 文档设置
@@ -168,7 +168,7 @@ watch(dialogVisible, (bool) => {
168168 selector: ' ' ,
169169 hit_handling_method: ' optimization' ,
170170 directly_return_similarity: 0.9 ,
171- allow_download: false ,
171+ allow_download: true ,
172172 }
173173 isImport .value = false
174174 documentType .value = ' '
@@ -244,6 +244,7 @@ const submit = async (formEl: FormInstance | undefined) => {
244244 hit_handling_method: form .value .hit_handling_method ,
245245 directly_return_similarity: form .value .directly_return_similarity ,
246246 id_list: documentList .value ,
247+ allow_download: form .value .allow_download ,
247248 }
248249 loadSharedApi ({ type: ' document' , systemType: apiType .value })
249250 .putBatchEditHitHandling (id , obj , loading )
You can’t perform that action at this time.
0 commit comments