<input type="file" id="files" @change="fileImport"> 解决方案 执行完一次change事件之后清空一下value document.getElementById('files').value = ''