time will always remain 0 function Clock() { const [time, setTime] = React.useState(0); React.useEffect(() => { const timer = window.setInterval ...
確定! 回上一頁