fix: 滚动内容与滚动条的层级问题

This commit is contained in:
AncTe committed 2025-02-22 15:05:32 +08:00
1 parent d6e0de28ab
commit 1e8600c080
1 file changed
+2
+2
View File
@@ -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>
);