From fb83651bd0872681510ece2a836ac4094611e2e6 Mon Sep 17 00:00:00 2001 From: DMQ <420025381@qq.com> Date: Thu, 22 Dec 2022 18:24:35 +0800 Subject: [PATCH] fix: set the correct activce classname for stickyScrollBar --- components/vc-table/stickyScrollBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vc-table/stickyScrollBar.tsx b/components/vc-table/stickyScrollBar.tsx index 5579ab2dbd..4f3967c78c 100644 --- a/components/vc-table/stickyScrollBar.tsx +++ b/components/vc-table/stickyScrollBar.tsx @@ -230,7 +230,7 @@ export default defineComponent({ onMousedown={onMouseDown} ref={scrollBarRef} class={classNames(`${prefixCls}-sticky-scroll-bar`, { - [`${prefixCls}-sticky-scroll-bar-active`]: isActive, + [`${prefixCls}-sticky-scroll-bar-active`]: isActive.value, })} style={{ width: `${scrollBarWidth.value}px`,