input file是只读的,给form一个id,用form.reset()干掉里面input的值 document.getElementById("uploadForm")&&document.getElementById("uploadForm").reset() 转载于:https://www.cnblogs.com/thinkingthigh/p/9083539.html