mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-19 17:16:08 +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}
|
ref={content}
|
||||||
onDown={down}
|
onDown={down}
|
||||||
render={renderContent}
|
render={renderContent}
|
||||||
|
zIndex={0}
|
||||||
>
|
>
|
||||||
{slots.default?.()}
|
{slots.default?.()}
|
||||||
</container-custom>
|
</container-custom>
|
||||||
@ -465,6 +466,7 @@ export const Scroll = defineComponent<ScrollProps, {}, string, ScrollSlots>(
|
|||||||
render={drawScroll}
|
render={drawScroll}
|
||||||
onDown={downScroll}
|
onDown={downScroll}
|
||||||
onUp={upScroll}
|
onUp={upScroll}
|
||||||
|
zIndex={10}
|
||||||
></sprite>
|
></sprite>
|
||||||
</container>
|
</container>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user