fix: set the correct activce classname for stickyScrollBar (#6169)

pull/5629/head^2
DMQ 2023-01-17 16:52:16 +08:00 committed by GitHub
parent c8b7848f99
commit 034f71c005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ export default defineComponent<StickyScrollBarProps>({
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`,