From 95b6dfce3afc559efbe939395ac6f0f89857d010 Mon Sep 17 00:00:00 2001 From: cshaptx4869 <994774638@qq.com> Date: Tue, 14 May 2024 10:18:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(PageContent):=20:bug:=20=E4=BF=AE=E5=A4=8Dl?= =?UTF-8?q?abel=E4=B8=BAundefined=E6=97=B6=E7=9A=84=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PageContent/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PageContent/index.vue b/src/components/PageContent/index.vue index 498971bc..03c80981 100644 --- a/src/components/PageContent/index.vue +++ b/src/components/PageContent/index.vue @@ -499,7 +499,7 @@ const displayedColumns = ref(props.contentConfig.cols); // 全选/取消全选 const handleCheckAllChange = (checkAll: CheckboxValueType) => { columnSetting.value.checkedCols = checkAll - ? props.contentConfig.cols.map((col) => col.label ?? "") + ? (props.contentConfig.cols.map((col) => col.label) as any[]) : []; columnSetting.value.isIndeterminate = false;