From 0cf95b5e8d24886c7392a5f2049d87ce46a76f0c Mon Sep 17 00:00:00 2001 From: fujianchao Date: Fri, 13 Dec 2024 17:26:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=96=B0=E5=A2=9E=E6=98=AF=E5=90=A6=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E6=8B=BC=E6=8E=A5=E9=85=8D=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-editor/src/plugin/Form/InputFile.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/amis-editor/src/plugin/Form/InputFile.tsx b/packages/amis-editor/src/plugin/Form/InputFile.tsx index eb2a170d2d4..59aeef793aa 100644 --- a/packages/amis-editor/src/plugin/Form/InputFile.tsx +++ b/packages/amis-editor/src/plugin/Form/InputFile.tsx @@ -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',