Commit 1e500fcb by zhaochengxiang

模型列表

parent 8067767a
......@@ -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);
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