mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2025-12-30 01:32:26 +00:00
refactor: 适配新的滚动元素
This commit is contained in:
@@ -59,7 +59,7 @@ export function useTabsViewScroll(props: TabsProps) {
|
||||
}
|
||||
|
||||
const viewportEl = scrollbarEl?.querySelector(
|
||||
'div[data-radix-scroll-area-viewport]',
|
||||
'div[data-reka-scroll-area-viewport]',
|
||||
);
|
||||
|
||||
scrollViewportEl.value = viewportEl;
|
||||
|
||||
Reference in New Issue
Block a user