mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: The basic information node repeatedly turns on and off the file upload switch, and the audio variable of the starting node will increase repeatedly.
--bug=1050529 --user=刘瑞斌 【应用】-高级编排应用设置,基础信息节点反复开启关闭文件上传开关,开始节点的音频变量会重复增加 https://www.tapd.cn/57709429/s/1632488
This commit is contained in:
parent
b9013d72ad
commit
26ba893877
|
|
@ -69,7 +69,7 @@ const refreshFileUploadConfig = () => {
|
|||
.map((v: any) => cloneDeep(v.properties.node_data.file_upload_setting))
|
||||
.filter((v: any) => v)
|
||||
|
||||
fields = fields.filter((item: any) => item.value !== 'image' && item.value !== 'document')
|
||||
fields = fields.filter((item: any) => item.value !== 'image' && item.value !== 'document' && item.value !== 'audio' && item.value !== 'video')
|
||||
|
||||
if (form_data.length === 0) {
|
||||
set(props.nodeModel.properties.config, 'fields', fields)
|
||||
|
|
|
|||
Loading…
Reference in New Issue