From 034f71c005f3a03a9afae1928e776d968e8edfe2 Mon Sep 17 00:00:00 2001 From: DMQ <420025381@qq.com> Date: Tue, 17 Jan 2023 16:52:16 +0800 Subject: [PATCH] fix: set the correct activce classname for stickyScrollBar (#6169) --- 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 5579ab2db..4f3967c78 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`,