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`,