From f3100030d78faa92d6e215e0120eb2854f9120c9 Mon Sep 17 00:00:00 2001 From: wjh Date: Mon, 3 Jun 2024 10:35:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E4=B8=8B=E6=8B=89=E6=A1=86=E9=80=82=E9=85=8D=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=95=B0=E6=8D=AE=E9=80=89=E6=8B=A9=20(#1102?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/1102 Reviewed-by: sealday Co-authored-by: wjh Co-committed-by: wjh --- .../components/antd-mobile/Input/Input.tsx | 24 ++----------------- .../antd-mobile/Select/AntdSelect.tsx | 10 ++++---- .../components/antd-mobile/Select/Select.tsx | 22 +++++++++++------ 3 files changed, 22 insertions(+), 34 deletions(-) diff --git a/packages/plugins/@tachybase/plugin-mobile-client/src/client/core/schema/components/antd-mobile/Input/Input.tsx b/packages/plugins/@tachybase/plugin-mobile-client/src/client/core/schema/components/antd-mobile/Input/Input.tsx index 416e95578..bdaf3cce9 100644 --- a/packages/plugins/@tachybase/plugin-mobile-client/src/client/core/schema/components/antd-mobile/Input/Input.tsx +++ b/packages/plugins/@tachybase/plugin-mobile-client/src/client/core/schema/components/antd-mobile/Input/Input.tsx @@ -14,17 +14,7 @@ export const MInput: ComposedInput = connect( return { placeholder: '请输入内容', clearable: true, ...props, style: { '--font-size': '12px' } }; }), mapReadPretty((props) => { - return ( - - ); + return {props.value}; }), ); @@ -34,17 +24,7 @@ const MTextArea = connect( return { ...props, placeholder: '请输入内容', clearable: true, style: { '--font-size': '12px' } }; }), mapReadPretty((props) => { - return ( -