And in the reset function, we set ref.current.value to an empty string. ref.current is the file input element since we passed ref to the ref ...
確定! 回上一頁