useRef (null) React.useLayoutEffect(() => { const rect = ref.current.getBoundingClientRect() console.log('Input dimensions:', rect.width, ...
確定! 回上一頁