You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
给List添加ref</List
然后点击按钮后执行
if (listRef.current) {
listRef.current.nativeElement.scrollTop = 0;
}
这种方法没有用,请问下要如何实现?
Beta Was this translation helpful? Give feedback.
All reactions