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;