const DomEle=()=>{
const bottomLine =useRef(null);
const scrollToBottom = () => {
if (bottomLine && bottomLine.current) {
bottomLine.current.scrollIntoView(false);
}
}
useEffect(() => {
scrollToBottom();
}, [content]);
return (
<div>
<div>{content}</div>
<div style={
const DomEle=()=>{
const bottomLine =useRef