From 9db07a9c8c213430de02a469b6a132e35d2bcc6c Mon Sep 17 00:00:00 2001 From: jiatianqi Date: Mon, 21 Nov 2022 19:15:07 +0800 Subject: [PATCH 1/3] =?UTF-8?q?amis-saas-8231=20[Bug]=20list-select=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E9=BB=98=E8=AE=A4=E5=80=BC=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic7295f8e804b328b7668877f2d9adb67d2f0a550 --- packages/amis-editor/src/plugin/Form/ListSelect.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/amis-editor/src/plugin/Form/ListSelect.tsx b/packages/amis-editor/src/plugin/Form/ListSelect.tsx index 761446054..fb40bdd17 100644 --- a/packages/amis-editor/src/plugin/Form/ListSelect.tsx +++ b/packages/amis-editor/src/plugin/Form/ListSelect.tsx @@ -112,6 +112,7 @@ export class ListControlPlugin extends BasePlugin { getSchemaTpl('extractValue'), getSchemaTpl('valueFormula', { rendererSchema: context?.schema, + mode: 'vertical', useSelectMode: true, // 改用 Select 设置模式 visibleOn: 'this.options && this.options.length > 0' }) From 6143f6a10d3430ff8d65589861291070b574c66a Mon Sep 17 00:00:00 2001 From: jiatianqi Date: Mon, 21 Nov 2022 19:36:34 +0800 Subject: [PATCH 2/3] =?UTF-8?q?amis-saas-8187=20[Bug]=20=E3=80=90=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=EF=BC=9A=E3=80=91=E6=97=B6=E9=97=B4=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E7=BB=84=E4=BB=B6-=E6=97=B6=E9=97=B4=E6=95=B0=E5=80=BC?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iee32a50fdcdbdcfd97da8d6032da0179a070e5e7 --- packages/amis-editor/src/plugin/Form/InputDate.tsx | 2 +- packages/amis-editor/src/plugin/Time.tsx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/amis-editor/src/plugin/Form/InputDate.tsx b/packages/amis-editor/src/plugin/Form/InputDate.tsx index 5fa11bcbe..2db66c167 100644 --- a/packages/amis-editor/src/plugin/Form/InputDate.tsx +++ b/packages/amis-editor/src/plugin/Form/InputDate.tsx @@ -75,7 +75,7 @@ const DateType: { { label: 'HH:mm:ss', value: 'HH:mm:ss', - timeFormat: 'HH:mm' + timeFormat: 'HH:mm:ss' }, { label: 'HH时mm分', diff --git a/packages/amis-editor/src/plugin/Time.tsx b/packages/amis-editor/src/plugin/Time.tsx index 67e70e50b..d32c7e069 100644 --- a/packages/amis-editor/src/plugin/Time.tsx +++ b/packages/amis-editor/src/plugin/Time.tsx @@ -30,6 +30,8 @@ export class TimePlugin extends DatePlugin { { type: 'input-time', name: 'value', + inputFormat: 'HH:mm:ss', + timeFormat: 'HH:mm:ss', label: '时间数值' }, { From 7877b371f081bed5acf35573d3145afa1c27e8bc Mon Sep 17 00:00:00 2001 From: zhou999 Date: Mon, 21 Nov 2022 20:52:17 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20amis-saas-8121=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=EF=BC=9A=E3=80=90=E7=BB=84=E4=BB=B6=E4=BC=98=E5=8C=96=E7=AC=AC?= =?UTF-8?q?=E4=BA=94=E6=89=B9=E3=80=91transfer=E4=BF=AE=E6=94=B9=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E9=BB=98=E8=AE=A4=E5=80=BCvalue=EF=BC=8C?= =?UTF-8?q?=E5=AF=B9=E5=BA=94=E6=96=87=E6=9C=AC=E4=B8=8B=E7=9A=84=E5=80=BC?= =?UTF-8?q?=E5=90=8C=E6=97=B6=E8=A2=AB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie77d951f166a4fc433aefa6f9c606daa4b14daff --- packages/amis-editor/src/plugin/Form/Transfer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amis-editor/src/plugin/Form/Transfer.tsx b/packages/amis-editor/src/plugin/Form/Transfer.tsx index 85bfac601..571ec05bc 100644 --- a/packages/amis-editor/src/plugin/Form/Transfer.tsx +++ b/packages/amis-editor/src/plugin/Form/Transfer.tsx @@ -229,7 +229,7 @@ export class TransferPlugin extends BasePlugin { } }, - getSchemaTpl('optionControl', { + getSchemaTpl('optionControlV2', { visibleOn: 'data.selectMode === "list"', multiple: true }),