Commit 7a6932d8 by zhaochengxiang

模型滚动问题

parent 63cf95ab
......@@ -267,7 +267,7 @@ const ModelTable = (props) => {
useEffect(() => {
if (shouldScrollRef.current && gridRef.current && offset!==null && (data||[]).length>0) {
setTimeout(() => {
gridRef.current?.scrollToRow(offset);
gridRef.current?.scrollToRow(offset-1);
shouldScrollRef.current = false;
}, 300)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment