mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-11 15:47:06 +08:00
fix: 滚动内容与滚动条的层级问题
This commit is contained in:
parent
d6e0de28ab
commit
1e8600c080
@ -455,6 +455,7 @@ export const Scroll = defineComponent<ScrollProps, {}, string, ScrollSlots>(
|
||||
ref={content}
|
||||
onDown={down}
|
||||
render={renderContent}
|
||||
zIndex={0}
|
||||
>
|
||||
{slots.default?.()}
|
||||
</container-custom>
|
||||
@ -465,6 +466,7 @@ export const Scroll = defineComponent<ScrollProps, {}, string, ScrollSlots>(
|
||||
render={drawScroll}
|
||||
onDown={downScroll}
|
||||
onUp={upScroll}
|
||||
zIndex={10}
|
||||
></sprite>
|
||||
</container>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user