From 27d43eee2845ab938586057cb334a9c447118e74 Mon Sep 17 00:00:00 2001 From: "bai.zixv" Date: Mon, 15 Apr 2024 22:59:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=A1=A8=E8=87=AA=E5=8A=A8=E7=BC=96=E7=A0=81=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=8C=89=E9=92=AE=E7=9A=84bug,=20=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E5=B8=83=E5=B1=80=E7=BB=84=E4=BB=B6=20(#722)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachycode/pulls/722 Co-authored-by: bai.zixv Co-committed-by: bai.zixv --- .../src/client/sequence.tsx | 38 ++++++++++--------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/packages/plugins/@nocobase/plugin-sequence-field/src/client/sequence.tsx b/packages/plugins/@nocobase/plugin-sequence-field/src/client/sequence.tsx index 883bc877e..85e08067c 100644 --- a/packages/plugins/@nocobase/plugin-sequence-field/src/client/sequence.tsx +++ b/packages/plugins/@nocobase/plugin-sequence-field/src/client/sequence.tsx @@ -210,19 +210,23 @@ export function RuleConfigForm() { type="link" onClick={() => { // fix https://nocobase.height.app/T-2868 - FormDrawer({ title: compile(ruleType.title), zIndex: token.zIndexPopupBase + 1000 }, () => { - return ( - - - - - + FormDrawer( + { + title: compile(ruleType.title), + zIndex: token.zIndexPopupBase + 1000, + }, + () => { + return ( + + + + - - - ); - }) + + ); + }, + ) .open({ initialValues: options, })