上传文件input 同一文件只执行一次

if(this.$refs.fileInput.files[0]) {
this.$refs.fileInput.value = '';
// this.$refs.fileInput.files[0] = [];
}