refactor: add file count and size limits to form data in KnowledgeSetting
--bug=1057871 --user=刘瑞斌 【知识库】通用知识库设置中限制上传文档大小功能保存后未生效 https://www.tapd.cn/62980211/s/1721614
This commit is contained in:
parent
de1ec6addb
commit
315fdd5f9c
@ -261,9 +261,13 @@ async function submit() {
|
|||||||
detail.value.type === 1 || detail.value.type === 2
|
detail.value.type === 1 || detail.value.type === 2
|
||||||
? {
|
? {
|
||||||
meta: form.value,
|
meta: form.value,
|
||||||
|
file_count_limit: form.value.file_count_limit,
|
||||||
|
file_size_limit: form.value.file_size_limit,
|
||||||
...BaseFormRef.value.form,
|
...BaseFormRef.value.form,
|
||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
|
file_count_limit: form.value.file_count_limit,
|
||||||
|
file_size_limit: form.value.file_size_limit,
|
||||||
...BaseFormRef.value.form,
|
...BaseFormRef.value.form,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user