vue清空input file

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