useRef 与createRef 使用方法类似,如下 import React, { useRef } from "react" export function ExampleRef() { let input = useRef() let setInputValue ...
確定! 回上一頁