vue清空input file input file是只读的,给form一个id,用form.reset()干掉里面input的值 document.getElementById("uploadForm")&&document.getElementById("uploadForm").reset()