Fork me on GitHub

vue清空input file

input file是只读的,给form一个id,用form.reset()干掉里面input的值
document.getElementById("uploadForm")&&document.getElementById("uploadForm").reset()
posted @ 2018-05-24 16:23  思考的大腿  阅读(4347)  评论(0编辑  收藏  举报