From 0540cbaf59a06314de154572c2c5e9cfc4df44ce Mon Sep 17 00:00:00 2001 From: youluna Date: Fri, 30 Nov 2018 14:57:11 +0800 Subject: [PATCH] fix(Table): pass affixProps to affix --- src/table/sticky/header.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table/sticky/header.jsx b/src/table/sticky/header.jsx index 1e3b81503a..c8f539827f 100644 --- a/src/table/sticky/header.jsx +++ b/src/table/sticky/header.jsx @@ -18,7 +18,7 @@ export default class StickHeader extends React.Component { const { Header, offsetTop, affixProps } = this.context; const newAffixProps = affixProps || {}; - const { className, others } = newAffixProps; + const { className, ...others } = newAffixProps; const cls = classnames({ [`${prefix}table-affix`]: true, className