From 4112e58577ca996240f164d063dacd3557d4f8e1 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Mon, 17 Apr 2023 14:43:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E7=8E=B0=E4=B8=A5=E9=87=8D=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E6=9A=82=E6=97=B6=E5=9B=9E=E8=B4=AD=E6=AD=A4?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E3=80=90issues/423=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20JVxeTypes.hidden=20=E4=B8=8D=E8=83=BD=E8=B5=8B?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/jeecg/JVxeTable/src/hooks/useColumns.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/jeecg/JVxeTable/src/hooks/useColumns.ts b/src/components/jeecg/JVxeTable/src/hooks/useColumns.ts index 4a0c6f9..cba07a2 100644 --- a/src/components/jeecg/JVxeTable/src/hooks/useColumns.ts +++ b/src/components/jeecg/JVxeTable/src/hooks/useColumns.ts @@ -110,9 +110,7 @@ function handleInnerColumn(args: HandleArgs, col: JVxeColumn, handler: (args: Ha * 处理隐藏列 */ function handleHiddenColumn({ col, columns }: HandleArgs) { - col!.params = cloneDeep(col); delete col!.type; - col!.field = col!.key col!.visible = false; columns.push(col!); }