Skip to content

Commit

Permalink
feat: 文件上传组件新增是否开启文件上传路径拼接配置项
Browse files Browse the repository at this point in the history
  • Loading branch information
F-jianchao committed Dec 13, 2024
1 parent 395468b commit 0cf95b5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/amis-editor/src/plugin/Form/InputFile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,18 @@ export class FileControlPlugin extends BasePlugin {
}
]
}),
getSchemaTpl('switch', {
name: 'joinValues',
label: '文件上传路径拼接',
pipeIn: defaultValue(true)
}),
{
type: 'input-text',
name: 'delimiter',
label: '拼接符',
visibleOn: 'this.joinValues !== false',
pipeIn: defaultValue(',')
},
{
type: 'input-group',
name: 'maxSize',
Expand Down

0 comments on commit 0cf95b5

Please sign in to comment.