From 85c99f7f80761ac6efaf3255c03b933442db1686 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Tue, 7 Jan 2025 11:00:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E7=AE=A1=E7=90=86=EF=BC=8C=E7=82=B9=E5=87=BB=E4=BA=86=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E5=8E=9F=E6=96=87=E6=8C=89=E9=92=AE=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=BF=AE=E6=94=B9=E5=80=BC=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/certd-client/src/views/certd/access/common.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ui/certd-client/src/views/certd/access/common.tsx b/packages/ui/certd-client/src/views/certd/access/common.tsx index 906a39dfd..1722f2890 100644 --- a/packages/ui/certd-client/src/views/certd/access/common.tsx +++ b/packages/ui/certd-client/src/views/certd/access/common.tsx @@ -41,7 +41,11 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) { column.suffixRender = (scope: { form: any; key: string }) => { const { form, key } = scope; const inputKey = scope.key.replace("access.", ""); - return ; + const onChange = (val: any) => { + set(form, key, val); + }; + const value = get(form, key); + return ; }; } //eval