From 4a05528c1c73bbf1b149898d24269814b60d7193 Mon Sep 17 00:00:00 2001 From: liuhang <1016817543@qq.com> Date: Wed, 31 Mar 2021 14:48:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=A1=A8=E6=A0=BC):=20=E5=88=86=E7=BB=84?= =?UTF-8?q?=E8=A1=A8=E5=A4=B4=E6=94=AF=E6=8C=81=E5=9B=BA=E5=AE=9A=EF=BC=88?= =?UTF-8?q?#3882=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/table/ColumnGroup.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/table/ColumnGroup.tsx b/components/table/ColumnGroup.tsx index 6d606fdf54..484d86aea5 100644 --- a/components/table/ColumnGroup.tsx +++ b/components/table/ColumnGroup.tsx @@ -1,9 +1,13 @@ import { defineComponent } from 'vue'; -import PropTypes from '../_util/vue-types'; +import PropTypes, { withUndefined } from '../_util/vue-types'; +import { tuple } from '../_util/type'; export default defineComponent({ name: 'ATableColumnGroup', props: { + fixed: withUndefined( + PropTypes.oneOfType([PropTypes.looseBool, PropTypes.oneOf(tuple('left', 'right'))]), + ), title: PropTypes.any, }, __ANT_TABLE_COLUMN_GROUP: true,