<input type="file" ref={fileRef} multiple onChange={()=>{
const file = fileRef.current.files[0]
console.log(imgRef.current);
const img = imgRef.current
const reader = new FileReader()
reader.readAsDataURL(file)
reader.onload = function () {
img.src = this.result
hide.current.value=this.result
}
}} />
08-11
04-13
9887